From Vectorworks Developer
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionCreates a custom object instance at the specified location and angle of rotation. For the objectName, use the "internal" plug-in name (the one assigned in the plug-in editor), as opposed to the filename (which can be different).
rotationAngle :REAL) : HANDLE;
def vs.CreateCustomObject(objectName, p, rotationAngle): return HANDLE
objectName STRING Name of object. p REAL Insertion point of object instance. rotationAngle REAL Rotation angle (in degrees) of object instance.
Return ValueReturns a HANDLE to the new object.
RemarksLike for objects created through CreateCustomObjectPath, they don't resolve as "new objects" after creation with this routine.
VersionAvailability: from VectorWorks8.5
See AlsoVS Functions:
VS Functions: [[VS:CreateCustomObjectPath]]