VS:SetPartDataID

From Vectorworks Developer
Jump to navigation Jump to search

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

Description

Set a numeric value for this part instance represented by the specified sub-object.

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

PROCEDURE SetPartDataID(
objectHandle :HANDLE;
dataID :LONGINT);
def vs.SetPartDataID(objectHandle, dataID):
    return None

Parameters

objectHandle HANDLE The sub-object handle.
dataID LONGINT The numeric value assigned to the part.

Version

Availability: from Vectorworks 2022