Difference between revisions of "VS:NumDashStyles"

From Vectorworks Developer
Jump to: navigation, search
m (add carriage returns)
(fix remark)
 
Line 22: Line 22:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<remark>
 
<remark>
[[User:Orso.b.schmid|Orso]], 2014.04.08:  This Routine can be considered partly obsolete from VW 2013 (VW 18) since it will ignore complex line types. Use [[VS:BuildResourceList| BuildResourceList]] instead.
+
[[User:Orso.b.schmid|Orso]], 2014.04.08:  It returns exclusively the count of dash styles ignoring complex line types, if any. Use BuildResourceList instead if you need them.
 
</remark>
 
</remark>
  

Latest revision as of 11:02, 1 March 2016

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


Description

Function NumDashStyles returns the number of available line dash patterns.
FUNCTION NumDashStyles : INTEGER;
def vs.NumDashStyles():
    return INTEGER

Remarks

Orso, 2014.04.08: It returns exclusively the count of dash styles ignoring complex line types, if any. Use BuildResourceList instead if you need them.

Example

VectorScript

numLS := NumDashStyles;

Python


Version

Availability: from MiniCAD 4.0

See Also

VS Functions:

VS:BuildResourceList | VS:GetNameFromResourceList

VS Functions:

[[VS:BuildResourceList]]

| [[VS:GetNameFromResourceList]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox