VS:NumDashStyles: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(fix remark) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
</funcDef> | </funcDef> | ||
</def> | </def> | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark> | ||
[[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> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<sample> | <sample> | ||
==== VectorScript ==== | |||
<code lang="pas"> | <code lang="pas"> | ||
numLS:=NumDashStyles;</code> | numLS := NumDashStyles;</code> | ||
==== Python ==== | |||
<code lang="py"> | |||
</code> | |||
</sample> | </sample> | ||
----------------------------------------------------------------------------------------------------------- | |||
<seeAlso> | |||
VS Functions: | |||
[[VS:BuildResourceList]] | |||
| [[VS:GetNameFromResourceList]] | |||
</seeAlso> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Availability: from | Availability: from MiniCAD 4.0 | ||
</version> | </version> |
Revision as of 15: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]]