IFCExtrusionCalculatorOptions Constructor


Constructs a new instance of a class used to calculate extrusions from Revit geometry.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2012

Syntax

C#
public IFCExtrusionCalculatorOptions(
	ExporterIFC exporterIFC,
	IFCExtrusionAxes extrusionAxes,
	XYZ customAxis,
	double scale
)
Visual Basic
Public Sub New ( _
	exporterIFC As ExporterIFC, _
	extrusionAxes As IFCExtrusionAxes, _
	customAxis As XYZ, _
	scale As Double _
)
Visual C++
public:
IFCExtrusionCalculatorOptions(
	ExporterIFC^ exporterIFC, 
	IFCExtrusionAxes extrusionAxes, 
	XYZ^ customAxis, 
	double scale
)

Parameters

exporterIFC
Type: Autodesk.Revit.DB.IFCExporterIFC
The exporter.
extrusionAxes
Type: Autodesk.Revit.DB.IFCIFCExtrusionAxes
The extrusion axes to try when doing the calculation.
customAxis
Type: Autodesk.Revit.DBXYZ
The custom axis to try (if extrusionAxes includes an option for a custom direction).
scale
Type: SystemDouble
The scaling factor for length measurements from the default Revit units to the export units.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →