RVTDocs.com

FabricationPart.RotateConnectedTap

Method
Description:
Rotates a connected fabrication tap by the specified angles about the primary and secondary axis.
Syntax
public static void RotateConnectedTap(
	Document document,
	FabricationPart tap,
	double primaryAxisRotateBy,
	double secondaryAxisRotateBy
)
Parameters
Parameter Type Description
document Document The document.
tap FabricationPart The connected fabrication part tap to rotate.
primaryAxisRotateBy Double The primary axis rotation angle in radians to rotate by.
secondaryAxisRotateBy Double The secondary axis rotation angle in radians to rotate by.
Return Value
Exceptions
Exception Condition
ArgumentException Is not connected as a fabrication part tap. -or- tap cannot be rotated about the primary axis by the specified angle: primaryAxisRotateBy -or- tap cannot be rotated about the secondary axis by the specified angle: secondaryAxisRotateBy
ArgumentNullException A non-optional argument was null