Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.15 KB

File metadata and controls

48 lines (38 loc) · 1.15 KB

SetTextStyleByClass

Description

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

Parameters

Name Type Description
objectId HANDLE handle to object

Examples

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)

See Also

VS Functions: SetTextStyleRef | GetTextStyleRef | SetTextStyleRefN | GetTextStyleRefN | SetTextStyleByClass | SetTextStyleByClassN | IsTextStyleByClass | IsTextStyleByClassN

Version

Availability: from Vectorworks 2015

Category