Skip to content

IFCExtrusionCreationData

Public Class

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

Allows vertical shifting of breps when moving towards the origin.


Public Property

True if inner regions of the extrusion should become openings, false otherwise.


Public Property

The custom extrusion axis to try when generating an extrusion.


Public Property

The extrusion direction to generate an extrusion.


Public Property

True to create new local placement with identity transform.


Public Property

Identifies if the data contains a custom extrusion axis.


Public Property

Identifies if the data contains a extrusion direction.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The axes to try when generating the properties of the extrusion.


Public Property

Allows re-use of local placement when creating a new local placement due to shifting of breps when moving towards the origin.


Public Property

The area of the extrusion, scaled to the units of export.


Public Property

The height of the extrusion, scaled to the units of export.


Public Property

The inner perimeter of the extrusion, scaled to the units of export.


Public Property

The length of the extrusion, scaled to the units of export.


Public Property

The outer perimeter of the extrusion, scaled to the units of export.


Public Property

The width of the extrusion, scaled to the units of export.


Public Property

The slope of the extrusion, in degrees.


Methods

Name

Description


Public Method
AddOpening

Adds an opening to the data.


Public Method

Removes all cached openings from the data.


Public Method

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

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

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.