justin1974 Posted July 31, 2003 Share Posted July 31, 2003 I want to set up a script to automate the setting up of the drawing pages. I have my own plug for the drawing title. I see from exporting a script how to set the feild values of the PIO but how do I insert the plugin to start with?. Quote Link to comment
Vectorworks, Inc Employee klinzey Posted July 31, 2003 Vectorworks, Inc Employee Share Posted July 31, 2003 Justin, You want to use: CreateCustomObject(objectName :STRING; pX, pY :REAL; rotationAngle :REAL) :HANDLE; ObjectName is the name of the plug-in object you want to place. pX,pY is the insertion point of the object. The command will return the handle to the newly created object. You should use this handle when you call SetRField to set the parameter values. 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.