Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.1 KB

File metadata and controls

38 lines (28 loc) · 1.1 KB

GetDashStyleName

Description

Retrieves the dash style name of the specified dash style index.

FUNCTION GetDashStyleName(DashStyleIndex : INTEGER): STRING;
def vs.GetDashStyleName(DashStyleIndex):
    return STRING

Parameters

Name Type Description
DashStyleIndex INTEGER The the index of the dash style.

Remarks

[[User:CBM-c-|c]], (2016.03.01): The dash style index required is relative to the dash style list, not the name list. Use [[VS:GetDashStyle]] or [[VS:GetDashStyleIndex]] to obtain it. Analogically, the dash style name returned is the name in the dash style list (you set it with [[VS:SetDashStyleName]]), not the name list. This can be diverging.

dashStyleName := GetDashStyleName(GetDashStyleIndex(TRUE, 1, 0.12, 0.03)); { should return 'ISO-02 Dashed' or its localized name, if a style with these pairs exists in the active document, otherwise it creates one with a generic name }

See Also

VS Functions: SetDashStyleName

Version

Availability: from Vectorworks 2011

Category

  • Object Names