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

istruzioni initget e entsel

  • Thread starter Thread starter Giuseppe Beatrice
  • Start date Start date

Giuseppe Beatrice

Guest
Bye, guys.
I have a doubt born in the elaboration of some simple instructions.
I press that the autolisp help states that initget education influences, among others, also entsel function.
then, if I follow the instruction set:(initiated)
(setq entityta (entsel "select entity")
I expect that, in case you respond with the Enter key, autolisp does not accept and invite me to retry the selection.
Unfortunately, I realized that it is not so... in fact, not only the instructions end regularly and the variable is obviously returned to nil.
I'm sure there's something wrong, but I can't figure out what.
 
initget only concerns keywords with entget.

...
(initget 128 a b)
(setq r(entsel"\nselect object, a or b."))

<digita b="">the variable r will go "b"</digita>
 
this is the table of possible values assigned to initget, in relation to functions
Senza titolo-1.webp
 
Okay, all clear, I was the one who lost me.
thanks and great day to all.:finger:
 

Forum statistics

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

Members online

No members online now.
Back
Top