Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 885 Bytes

File metadata and controls

30 lines (23 loc) · 885 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

  • Object Editing