Juno Posted August 11, 2004 Share Posted August 11, 2004 Is there a way to determine if an object is locked from within a script? I couldn't find a search criteria for locked objects and I would like to exclude them from a ForEachObject procedure. Thanks. Quote Link to comment
PeterT Posted August 12, 2004 Share Posted August 12, 2004 Try the Function "GetObjectVariableBoolean"and check the VectorWorks appendix for the selector index for "Object is Locked" under Misc. Object Selectors. It appears the Function will return "True" for the index value 700 if a referenced object is locked. Never used it myself, but hope that helps. Regards, PeterT Quote Link to comment
Juno Posted August 13, 2004 Author Share Posted August 13, 2004 I hadn't switched by browser bookmark from VectorScript Function reference for V9.5, which didn't have index #700. D'oh. I wonder what other commands I haven't been using? Worked fine. Thanks, PeterT. -juno Quote Link to comment
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.