PatrickSpot Posted May 9, 2019 Share Posted May 9, 2019 I am new to marionette and I am wondering if anybody has any tips on using it with the SPOTLIGHT specific tools? Such as, if I use marionette to make a rectangle that is 16' x 32' how can I make it apply the 'create stage' function from Spotlight? Quote Link to comment
PatW Posted May 10, 2019 Share Posted May 10, 2019 (edited) Hi Patrick, with these commands you should be able to do the job. They should be also available as Marionette nodes. Otherwise you can create them. http://developer.vectorworks.net/index.php/VS:Function_Reference CreateCustomObject(objectName, p, rotationAngle) SetCustomObjectPath(); The params can be modified with: GetParametricRecord SetRField Edited May 10, 2019 by PatW Quote Link to comment
PatrickSpot Posted May 10, 2019 Author Share Posted May 10, 2019 I guess I should have underlined 'new'.... I am playing around with what you said, but I am not sure how this links to 'create stage' or what the proper string is for that. Quote Link to comment
PatW Posted May 10, 2019 Share Posted May 10, 2019 (edited) You need to provide the internal plug-in name, usualy this is the name that you see in the OIP. To get the definite name use this little script (Python): # Example obj must be selected hRec = vs.GetParametricRecord(vs.FSActLayer()) print (vs.GetName(hRec )) Edited May 10, 2019 by PatW 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.