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

create a custom lisp command icon in the tool palette

  • Thread starter Thread starter jim78b
  • Start date Start date
to add an icon on a palette of tools you need, on a tab of these, with the right click select "personality command".
in the "user interface personality" selects "custom controls" in the command list.
you will find the command icon of the lisp you have previously created.
 
I do customize command, then new command, the nice is that macro I have to write to say to autocad with the lisp language to upload the file to es: rt.lisp in that folder? Thank you.
 
ah excuse have patience but the command to load the file lisp in my folder what would it be?
 
ok then ^c^c _appload the name of my lisp but should I specify the directory? I don't want to upload it to startup but when I'm in a click design on the icon and charge it understood?
 
^^c(if(null c:rblockn)(load"rblockn"));rblockn

this string you can put it on a command (which then you can drag on any menu) replacing the real command "rbblockn" with that within your lisp.

this procedure is released from the correctness of the lisp, so first test it with appload.. .
 

Attachments

  • interfaccia-utente.webp
    interfaccia-utente.webp
    85.8 KB · Views: 84
Hi.

I would also like information about creating a button that recalls a lisp procedure, it is not so clear, practically I would have 3 scripts and would like to make 3 buttons that every time I click on one of them I care about the script and do its action, currently scripts work perfectly.
 

Forum statistics

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

Members online

No members online now.
Back
Top