UnitSystemName - PYTHON 不支持

返回当前单位系统的名称。

语法

Rhino.UnitSystemName ([blnCapitalize [, blnSingular [, blnAbbreviate [, blnModelUnits]]]])

参数

blnCapitalize

可选参数。Boolean.Capitalize the first character of the units system name (e.g. return "Millimeter" instead of "millimeter").The default is not to capitalize the first character (false).

blnSingular

可选参数。Boolean.Return the singular form of the units system name (e.g. "millimeter" instead of "millimeters").The default is to return the singular form of the name (true).

blnAbbreviate

可选参数。Boolean.Abbreviate the name of the units system (e.g. return "mm" instead of "millimeter").The default is not to abbreviate the name (false).

blnModelUnits

可选参数。Boolean.Return the document's model units (True) or the document's page units (False).The default is True.

返回值

String

The name of the current units system if successful.

示例

Dim strSystem

strSystem = Rhino.UnitSystemName(False, False, False)

Rhino.Print "The units system is set to " & strSystem

同见

UnitSystem