I'm trying to learn AutoLISP and ODCL at the same time, so when I have problems, I don't know which program to blaim.
I have written a simple routine that draws rectangles. I have three different scenarios. When I run each scenario through LISP, they work as expected.
Now I want to add buttons to an ODCL form. Everything looks right (to my newbie mind), but the only button that works is the first one. If I try either of the other two, I get this error:
Select centerpoint for panel location:
Select angle: ; error: invalid AutoCAD command: nil
Can someone point me in the right direction?
And yes, I'm sure I'm duplicating lines of code. My intention is, once I get this working, going backwards and pareing out what I don't need.
Thanx,
Will
You first button's "Event Invoke" property is correctly set to = 1, the other 2 buttons aren't
You da man! ;D
I knew it was the third option, user error.
Thanx,
Will