RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ShapeImporter

ShapeImporter.SetDefaultLengthUnit

Method
Description:
Sets the length unit to be used when the input is a unitless SAT file.
Remarks:
Values ImportUnit::Default and ImportUnit::Custom are ignored. ImportUnit::Centimeter is used instead.
Syntax
public ShapeImporter SetDefaultLengthUnit(
	ImportUnit defaultLengthUnit
)
Parameters
Parameter Type Description
defaultLengthUnit ImportUnit The length unit to be used for when the input is a unitless SAT file.
Return Value
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration