M

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.
Remarks:
Tap cannot be placed if it is already connected.
public static void PlaceAsTap(
	Document document,
	Connector tapPartConnector,
	Connector hostPartConnector,
	double distance,
	double axisRotation,
	double secondaryAxisRotation
)
  • document
    The document.
  • tapPartConnector
    The connector of the part to place.
  • hostPartConnector
    The connector of host part.
  • Double
    distance
    The distance to host part connector where to place the part.
  • Double
    axisRotation
    The axis rotation in radians.
  • Double
    secondaryAxisRotation
    The secondary axis rotation in radians.