Moves Adaptive Component Instance by the specified transformation.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static void MoveAdaptiveComponentInstance( FamilyInstance famInst, Transform trf, bool unHost )
Parameters
- famInst FamilyInstance
- The FamilyInstance
- trf Transform
- The Transformation
- unHost Boolean
- True if the move should disassociate the Point Element Refs from their hosts. False if the Point Element Refs remain hosted.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentsInconsistentException | trf is not a rigid body transformation. |
InvalidOperationException | Unable to move the adaptive component instance. |