IFCTransformSetter Class

A state-based class that forces an extra transformation applied to objects being exported.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.IFCIFCTransformSetter

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class IFCTransformSetter : IDisposable

The IFCTransformSetter type exposes the following members.

Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodStatic memberCreate Creates a new instance of a transform setter.
Public methodDisposeReleases all resources used by the IFCTransformSetter
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the transformation in the transform setter.
Public methodInitializeFromBoundingBox 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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.
See Also