Difference between revisions of "VS:NumDashStyles"

From Vectorworks Developer
Jump to: navigation, search
(add remark: missing complex line types, remove redundant remark: is now description)
m (add carriage returns)
Line 18: Line 18:
 
</funcDef>
 
</funcDef>
 
</def>
 
</def>
 +
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
Line 23: Line 24:
 
[[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:  This Routine can be considered partly obsolete from VW 2013 (VW 18) since it will ignore complex line types. Use [[VS:BuildResourceList| BuildResourceList]] instead.
 
</remark>
 
</remark>
 +
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<sample>
 
<sample>
 +
==== VectorScript ====
 
<code lang="pas">
 
<code lang="pas">
 
numLS := NumDashStyles;</code>
 
numLS := NumDashStyles;</code>
 +
==== Python ====
 +
<code lang="py">
 +
 +
</code>
 
</sample>
 
</sample>
  

Revision as of 07:39, 8 April 2014

.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: This Routine can be considered partly obsolete from VW 2013 (VW 18) since it will ignore complex line types. Use BuildResourceList instead.

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