SetTextStyleByClass sets the referenced object to use the class text style. To undo this, use SetTextStyleRef on the object.
PROCEDURE SetTextStyleByClass(objectId : HANDLE);def vs.SetTextStyleByClass(objectId):
return None| Name | Type | Description |
|---|---|---|
| objectId | HANDLE | handle to object |
SetTextStyleByClass(objectId);import vs
# SetTextStyleByClass sets the referenced object to use the class text style.
objectId = vs.FSActLayer() # handle to the first selected object on the active layer
vs.SetTextStyleByClass(objectId)VS Functions: SetTextStyleRef | GetTextStyleRef | SetTextStyleRefN | GetTextStyleRefN | SetTextStyleByClass | SetTextStyleByClassN | IsTextStyleByClass | IsTextStyleByClassN
Availability: from Vectorworks 2015