VS:NumDashStyles: Difference between revisions
Jump to navigation
Jump to search
m (add carriage returns) |
m (Transfer Orso to _c_) |
||
(One intermediate revision by the same user not shown) | |||
Line 22: | Line 22: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark> | ||
[[User: | [[User:CBM-c-|_c_]], 2014.04.08: It returns exclusively the count of dash styles ignoring complex line types, if any. Use [[VS:BuildResourceList]] instead if you need them. | ||
</remark> | </remark> | ||
Line 31: | Line 31: | ||
<code lang="pas"> | <code lang="pas"> | ||
numLS := NumDashStyles;</code> | numLS := NumDashStyles;</code> | ||
==== Python ==== | ==== Python ==== | ||
<code lang="py"> | <code lang="py"> |
Latest revision as of 05:37, 30 December 2020
.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
_c_, 2014.04.08: It returns exclusively the count of dash styles ignoring complex line types, if any. Use VS: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]]