• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

macro button only in asm environment

  • Thread starter Thread starter lollone
  • Start date Start date

lollone

Guest
Bye.
I created a button for a macro to recover commercial components that are in a specific directory.
if I insert the button in the toolbar I also see it in prt environment, while I would like to see it only in asm environment.
Is it possible?
 
Bye.
I created a button for a macro to recover commercial components that are in a specific directory.
if I insert the button in the toolbar I also see it in prt environment, while I would like to see it only in asm environment.
Is it possible?
Bye to all,
I resume this discussion because I am in front of the need to create a button that opens up a business folder to assemble. . . .
... help me understand how to do it?

Thank you.
bb
 
io mi ero fatto questa macro:

mapkey com @mapkey_nameapertura directory commercio;@mapkey_labelcommercio;\
mapkey(continued) ~ select `main_dlg_cur` `menubar1`1 `insert`;\
mapkey(continued) ~ select `main_dlg_cur` `insert.cb_component`;\
mapkey(continued) ~ close `main_dlg_cur` `menubar1`;\
mapkey(continued) ~ close `main_dlg_cur` `insert.cb_component`;\
mapkey(continued) ~ activate `main_dlg_cur` `pshcompassemble`;\
mapkey(continued) ~ open `file_open` `ph_path.path`;~ close `file_open` `ph_path.path`;\
mapkey(continued) ~ select `file_open` `ph_path.path`1 `h:`;\
mapkey(continued) ~ select `file_open` `ph_list.filelist`1 `disegni`;\
mapkey(continued) ~ activate `file_open` `ph_list.filelist`1 `disegni`;\
mapkey(continued) ~ select `file_open` `ph_list.filelist`1 `proe`;\
mapkey(continued) ~ activate `file_open` `ph_list.filelist`1 `proe`;\
mapkey(continued) ~ select `file_open` `ph_list.filelist`1 `dis_pro`;\
mapkey(continued) ~ activate `file_open` `ph_list.filelist`1 `dis_pro`;\
mapkey(continued) ~ select `file_open` `ph_list.filelist`1 `commercio`;\
mapkey(continued) ~ activate `file_open` `ph_list.filelist`1 `commercio`;

non hai mai fatto macro?
semplicemente basta che registri il percorso della cartella da aprire e la crei.
ci sarà sicuramente qualche modo più nobile ma cmq funziona.
 
Bye to all,
I resume this discussion because I am in front of the need to create a button that opens up a business folder to assemble. . . .
... help me understand how to do it?

Thank you.
bb
in addition to the macro you can also use the tab "browser folders" that appears between the various tabs of the template tree:

ship to the desired folder, then do Right-click Add to common folders so you have that folder always visible and at your fingertips, with the list of ready parts to be dragged to the axieme and then assembled.
 
...sorry I expressed wrong I made both macro and button... .
the problem is the same that has found lollone and that I find the button even in the environment part... .

bb
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top