I'm brand new to AutoLISP, but I do have programming experience so I've been able to sort out a few things. I'm having problems with the following though.
I prompt the user for some input to store in variables, which seems to work fine, but I'm not sure how to use those variables later in the Command function.
I'd like the value for eyeWidth to be used as the radius, but I can't seem to get the right syntax for it to work. None of the examples I've found online actually use variables in commands, so I'm a bit stuck.
The second question is a bit more advanced. Once I draw all the lines, arcs, and circles I need, I have to sweep the circles across the arcs and lines. I'm not really sure where to begin. How does one even go about selecting an object with AutoLISP? I need to figure this out so I can SWEEP and EXTRUDE a few things.
I guess a follow up would be, can I select objects with their entity name? I figure I can just check the entity name with entlast and entget every time I create an object and then just assign that to a variable and use it to select them later on.
EDIT: Ok I've figured it out, apparently I can just use the variable with the entity name directly in commands. This is going to save me immense amounts of time.