Returns the names of all dimension styles in the document.
rhinoscriptsyntax.DimStyleNames (sort=False)
rhinoscript.dimension.DimStyleNames (sort=False)
sort |
Optional. Boolean. Return a sorted list of dimension style names. The default is not to return a sorted list (False). |
List |
A list of dimension style names if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
dimstyles = rs.DimStyleNames()
if dimstyles:
for dimstyle in dimstyles: print dimstyle