VS:FPenPatN

From Vectorworks Developer
Revision as of 15:34, 1 March 2016 by CBM-c- (talk | contribs) (add example and remark)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Description

Function FPenPatN returns the active pen pattern setting.

FUNCTION FPenPatN : LONGINT;
def vs.FPenPatN():
    return LONGINT

Remarks

(Orso 2016.02.29): VS:FPenPatN returns the name list index of the active dash style, while the older routine VS:FPenPat will return the dash style index. They are not the same.

{ compare the two different indexes: }
FPenPat; { returns the dash style list index corresponding to the active dash style }
FPenPatN; { returns the name list index corresponding to the active dash style }

Version

Availability: from Vectorworks 2013

See Also

VS Functions:

VS:PenPatN

VS Functions: [[VS:PenPatN]]