chulse Posted June 16, 2010 Share Posted June 16, 2010 Is it possible to set a default value for GETORIENT in something like this? (setq rot1 (getorient "Specify angle..." )) Thanks Quote Link to comment Share on other sites More sharing options...
Freerefill Posted June 16, 2010 Share Posted June 16, 2010 Not sure if this is what you're asking for, but something like this may help: (setq rot1 (if (setq tmp (getorient "Specify angle...")) tmp 0)) This will get the orientation, and if it exists, will set the variable rot1 to it. If it does not (say the user cancels out of it by right-clicking or what-have-you), then it will set rot1 to 0 instead. Quote Link to comment Share on other sites More sharing options...
chulse Posted June 16, 2010 Author Share Posted June 16, 2010 Perfect, thanks - I think that will do what I need. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.