FabricationPart.PlaceAsTap
Description:
Places the part by its connector to a specific position on the straight part at the specified distance from the host part connector.
Places the part by its connector to a specific position on the straight part at the specified distance from the host part connector.
Remarks:
Tap cannot be placed if it is already connected.
Tap cannot be placed if it is already connected.
-
documentThe document.
-
tapPartConnectorThe connector of the part to place.
-
hostPartConnectorThe connector of host part.
-
DoubledistanceThe distance to host part connector where to place the part.
-
DoubleaxisRotationThe axis rotation in radians.
-
DoublesecondaryAxisRotationThe secondary axis rotation in radians.
-
It is not a valid part to place as tap. -or- Tap should be placed on straight part. -or- The distance is out of range. -or- For rectangular and oval parts the axis rotation must be a multiple of PI/2. -or- Invalid tap for host's profile type. -or- The fabrication part is connected.
-
A non-optional argument was null
-
tap is not connected by its primary connector.
-
[!:Autodesk::Revit::Exceptions::InvalidOpertationException]tap does not fit on the host.