Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 921 Bytes

File metadata and controls

29 lines (23 loc) · 921 Bytes

CreateDuplicateObjN

Description

Duplicates the specified object and inserts the new object into the container. If container is nil, the new object will be inserted in the active container (Functionality of CreateDuplicateObject). This functions add an extra input parameter to maintain height relative to the specified layer.

FUNCTION CreateDuplicateObjN(
				objectToDuplicate             : HANDLE;
				containerHandle               : HANDLE;
				maintainHeightRelativeToLayer : BOOLEAN): HANDLE;
def vs.CreateDuplicateObjN(objectToDuplicate, containerHandle, maintainHeightRelativeToLayer):
    return HANDLE

Parameters

Name Type Description
objectToDuplicate HANDLE
containerHandle HANDLE
maintainHeightRelativeToLayer BOOLEAN

Version

Availability: from Vectorworks 2020

Category