IFCTransformSetter
Description:
A state-based class that forces an extra transformation applied to objects being exported.
A state-based class that forces an extra transformation applied to objects being exported.
Remarks:
IFC has a system of local placements; these are created from a set of transforms in Revit. Sometimes there is a need to create a 'fake' transform to get the right local placement structure for IFC. This class is intended to maintain the transformation for the duration that it is needed. To ensure that the lifetime of the object is correctly managed, you should declare an instance of this class as a part of a 'using' statement in C# or similar construct in other lanuguages.
IFC has a system of local placements; these are created from a set of transforms in Revit. Sometimes there is a need to create a 'fake' transform to get the right local placement structure for IFC. This class is intended to maintain the transformation for the duration that it is needed. To ensure that the lifetime of the object is correctly managed, you should declare an instance of this class as a part of a 'using' statement in C# or similar construct in other lanuguages.
public class IFCTransformSetter : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Create() | IFCTransformSetter | Creates a new instance of a transform setter. |
| Dispose() | None | Releases all resources used by the |
| InitializeFromBoundingBox(ExporterIFC, IList<GeometryObject>, IFCExtrusionCreationData) | Transform | |
| Initialize(ExporterIFC, Transform) | None | Initializes the transformation in the transform setter. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |