AdaptiveComponentInstanceUtils.MoveAdaptiveComponentInstance
Description:
Moves Adaptive Component Instance by the specified transformation.
Moves Adaptive Component Instance by the specified transformation.
Remarks:
This method will attempt a rigid body motion of all the individual references and hence the instance itself. However if unHost parameter is 'false' and any of the instance's references are hosted to any geometry, then those references will move within the constraints. The instance then adapts to where its references are moved to.
This method will attempt a rigid body motion of all the individual references and hence the instance itself. However if unHost parameter is 'false' and any of the instance's references are hosted to any geometry, then those references will move within the constraints. The instance then adapts to where its references are moved to.
public static void MoveAdaptiveComponentInstance(
FamilyInstance famInst,
Transform trf,
bool unHost
)
-
famInstThe FamilyInstance
-
trfThe Transformation
-
BooleanunHostTrue if the move should disassociate the Point Element Refs from their hosts. False if the Point Element Refs remain hosted.
-
A non-optional argument was null
-
trf is not a rigid body transformation.
-
Unable to move the adaptive component instance.