Jump to content
Developer Wiki and Function Reference Links ×

Insert a Plugin from a scripts


Recommended Posts

  • Vectorworks, Inc Employee

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...