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

macro for the creation of the masses at the table

  • Thread starter Thread starter lollone
  • Start date Start date

lollone

Guest
Hi.
I have this macro for creating drw files automatically.
practically the macro goes to fish the mask file of the table put (start_a3.drw file). the name of the created table puts it at the end of the whole passage.

I would rather go to get the mask file (*.drw) go to get the format (*.frm).
Is it possible?
I can't understand how to do.in theory I should click in "empty with format" and go to select the reference format, but I can't write the correct programming.

here is the macro:

mapkey .fnd ~ activate `main_dlg_cur` `file.psh_new`; ♪
mapkey(continued) ~ select `type` 1 `drawing`; ♪
mapkey(continued) ~ activate `new` `chk_use_default_template` 1 ;~ activate `new` `ok`;\
mapkey(continued) ~ activate `ui message dialog` `ok`;

mapkey fnd3 @mapkey_namecreate new a3 drw;\
mapkey(continued) @mapkey_labelnew a&3 drawing;%.fnd;\
mapkey(continued) ~ select `dwg_create` `lst_template_names` 1 `start_a3`; ♪
mapkey(continued) ~ activate `dwg_create` `psh_ok`;~ activate `open_instance`;#dbms;\
mapkey(continued) #rename;%ftf;%sf31;%dr;
 
Hi.
I have this macro for creating drw files automatically.
practically the macro goes to fish the mask file of the table put (start_a3.drw file). the name of the created table puts it at the end of the whole passage.

I would rather go to get the mask file (*.drw) go to get the format (*.frm).
Is it possible?
I can't understand how to do.in theory I should click in "empty with format" and go to select the reference format, but I can't write the correct programming.

here is the macro:

mapkey .fnd ~ activate `main_dlg_cur` `file.psh_new`; ♪
mapkey(continued) ~ select `type` 1 `drawing`; ♪
mapkey(continued) ~ activate `new` `chk_use_default_template` 1 ;~ activate `new` `ok`;\
mapkey(continued) ~ activate `ui message dialog` `ok`;

mapkey fnd3 @mapkey_namecreate new a3 drw;\
mapkey(continued) @mapkey_labelnew a&3 drawing;%.fnd;\
mapkey(continued) ~ select `dwg_create` `lst_template_names` 1 `start_a3`; ♪
mapkey(continued) ~ activate `dwg_create` `psh_ok`;~ activate `open_instance`;#dbms;\
mapkey(continued) #rename;%ftf;%sf31;%dr;
Hi.
but where do you write this macro to make it executable? ?

bb
 

Forum statistics

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

Members online

No members online now.
Back
Top