IFCExtrusionCreationData
A utility object that is used to pass information related to extrusion creation.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.IFC.IFCExtrusionCreationData
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class IFCExtrusionCreationData : IDisposable
The IFCExtrusionCreationData type exposes the following members.
Constructors
Name
Description
Public Method
IFCExtrusionCreationData
The default constructor.
Properties
Name
Description
Public Property
AllowVerticalOffsetOfBReps
Allows vertical shifting of breps when moving towards the origin.
Public Property
AreInnerRegionsOpenings
True if inner regions of the extrusion should become openings, false otherwise.
Public Property
CustomAxis
The custom extrusion axis to try when generating an extrusion.
Public Property
ExtrusionDirection
The extrusion direction to generate an extrusion.
Public Property
ForceOffset
True to create new local placement with identity transform.
Public Property
HasCustomAxis
Identifies if the data contains a custom extrusion axis.
Public Property
HasExtrusionDirection
Identifies if the data contains a extrusion direction.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
PossibleExtrusionAxes
The axes to try when generating the properties of the extrusion.
Public Property
ReuseLocalPlacement
Allows re-use of local placement when creating a new local placement due to shifting of breps when moving towards the origin.
Public Property
ScaledArea
The area of the extrusion, scaled to the units of export.
Public Property
ScaledHeight
The height of the extrusion, scaled to the units of export.
Public Property
ScaledInnerPerimeter
The inner perimeter of the extrusion, scaled to the units of export.
Public Property
ScaledLength
The length of the extrusion, scaled to the units of export.
Public Property
ScaledOuterPerimeter
The outer perimeter of the extrusion, scaled to the units of export.
Public Property
ScaledWidth
The width of the extrusion, scaled to the units of export.
Public Property
Slope
The slope of the extrusion, in degrees.
Methods
Name
Description
Public Method
AddOpening
Adds an opening to the data.
Public Method
ClearOpenings
Removes all cached openings from the data.
Public Method
Dispose
Releases all resources used by the IFCExtrusionCreationData
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetLocalPlacement
Gets the reference to the IfcLocalPlacement handle used when creating the extrusion.
Public Method
GetOpenings
Gets a collection of all of the openings stored in this data.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
SetLocalPlacement
Sets the data to reference an IfcLocalPlacement handle when creating the extrusion. Side effect: will set ReuseLocalPlacement to true.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
This class accepts input used to attempt to create an extrusion (possibly with openings) from Revit geometry. The output contains information about the created extrusion and its openings. The information set is used to generate properties for the extruded body and related opening elements in the IFC file.