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

insert a block created by lisp

  • Thread starter Thread starter abelli12
  • Start date Start date
you can change the name of the block at a time, maybe by entering a type control

(setq suf (+ 1 suf))
so that at each execution the value of suf increases
then transform the value into a string
(setq suftxt (rtos suf 2 0))
and concatenate everything in the block name
(setq head (strcat "head" suftxt))

Of course the creation of the block will become(command "-block" testa "0,0" lista "")
 

Forum statistics

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

Members online

No members online now.
Back
Top