FormatOptionsSetUnitTypeId Method |
Sets the unit used to quantify values.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic FormatOptions SetUnitTypeId(
ForgeTypeId unitTypeId
)
Public Function SetUnitTypeId (
unitTypeId As ForgeTypeId
) As FormatOptions
public:
FormatOptions^ SetUnitTypeId(
ForgeTypeId^ unitTypeId
)
member SetUnitTypeId :
unitTypeId : ForgeTypeId -> FormatOptions
Parameters
- unitTypeId ForgeTypeId
-
The unit identifier.
Return Value
FormatOptions
Exceptions
See Also