Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.01 KB

File metadata and controls

36 lines (28 loc) · 1.01 KB

CreateCustomObject

Description

Creates 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).

FUNCTION CreateCustomObject(
				objectName    : STRING;
				pX,pY         : REAL;
				rotationAngle : REAL): HANDLE;
def vs.CreateCustomObject(objectName, p, rotationAngle):
    return HANDLE

Parameters

Name Type Description
objectName STRING Name of object.
p REAL Insertion point of object instance.
rotationAngle REAL Rotation angle (in degrees) of object instance.

Remarks

Like for objects created through CreateCustomObjectPath, they don't resolve as "new objects" after creation with this routine.

See Also

VS Functions: CreateCustomObjectPath

Version

Availability: from VectorWorks8.5

Category