Procedure SetClassN assigns a class to the referenced object.
If the third parameter 'descIntoGroup' is set to true all objects within the group will receive the same class assignment as the group,
otherwise only the group itself will be affected.
PROCEDURE SetClassN(
h : HANDLE;
className : STRING;
descIntoGroup : BOOLEAN);def vs.SetClassN(h, className, descIntoGroup):
return None| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
| className | STRING | Name of class to assign to object. |
| descIntoGroup | BOOLEAN | Assign the same class to all objects inside the group. |
{ select an object on drawing }
SetClassN(FSActLayer, 'Class Name-1', FALSE);VS Functions: SetClass
Availability: from Vectorworks 2018