2027 Method
Changes 0
M

FabricationHostedInfo.PlaceOnHost

Description:
Places the part on the specified host.
Remarks:
The document must be regenerated before the fabrication part can be used. Check ValidationStatus after regeneration to see if the part is valid for fabrication.
Overloads (2):
PlaceOnHost(ElementId,Connector,Double,Double)
public void PlaceOnHost(
	ElementId hostId,
	Connector hostConnector,
	double distance,
	double axisRotation
)
  • hostId
    Identifier of the host fabrication part.
  • hostConnector
    The connector of the host.
  • Double
    distance
    The distance from the connector to place the hosted part. Units are in feet (ft).
  • Double
    axisRotation
    The axis rotation in radians.
  • Invalid fabrication part host. The host should be a straight fabrication part. -or- Invalid connector of fabrication part host. -or- The distance is out of range. -or- For rectangular and oval parts the axis rotation must be a multiple of PI/2.
  • A non-optional argument was null