VS:SetPartInstanceName

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Set a unique part name for this part instance represented by the specified sub-object.

The sub-object must be an object that was tagged as a part.

PROCEDURE SetPartInstanceName(
objectHandle :HANDLE;
uniqueInstanceName :STRING);
def vs.SetPartInstanceName(objectHandle, uniqueInstanceName):
    return None

Parameters

objectHandle HANDLE The sub-object handle.
uniqueInstanceName STRING The unique part name to be assigned assigned to this part instance. The name must be unique for all instances of the part within an object.

Version

Availability: from Vectorworks 2022