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

custom command for block creation

  • Thread starter Thread starter stilgar
  • Start date Start date

stilgar

Guest
Hi, it's my first message on this forum.
my name is matteo and work for about 20 years in cad design, mainly autocad and microstation (no more from now many years)
in this period I work with autocad lt 2009, waiting to move to something more complete, I try to change menus and toolbar to facilitate as much as possible my work, recently I am trying to create a custom command to create blocks whose objects inside, are in layer 0, dablocco color and block line type

for now I have created this:
^c^c_chang#8203;e p c dablocco t dablocco block p

practically select the lines I want to insert into the block, click the command that changes the attributes of objects, but then when the block command leaves, asks me the name of the block the source point, and asks me to re-check the objects
Is there a way to tell him not to recheck the but to take the previous selection without having to repeat the selection?

I hope to be explained well, not to be offtopic in the section.

greetings to all
 
Hi.

You can do this:

^c^c_change;_p;_c;byblock;_lt;byblock;_-block;\_p;;;

creates the block and deletes objects from the drawing.

If you want to avoid deleting objects you can put:

^c^c_change;_p;_c;byblock;_lt;byblock;_-block;\_p;_oops;

I put everything in English.. .
 
Hi.

You can do this:

^c^c_change;_p;_c;byblock;_lt;byblock;_-block;\_p;;;

creates the block and deletes objects from the drawing.

If you want to avoid deleting objects you can put:

^c^c_change;_p;_c;byblock;_lt;byblock;_-block;\_p;_oops;

I put everything in English.. .
Thank you, the command you posted exactly does what I wanted, at this point I still take advantage of your help and ask you two things:
the first is if you know texts explaining the syntax of these customizations, even for a fee.

the second, I wanted to try to add the _select command to the command line, so I did:
^c^c_select;_change;_p;_c;byblock;_lt;byblock;_-block;\_p;

But I saw it doesn't work, can you tell me what's wrong?

greetings and thanks for the help
 

Forum statistics

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

Members online

No members online now.
Back
Top