2020 Method
Changes 0
M

FabricationPart.AlignPartByInsertionPointAndCutInToStraight

Description:
Align the part by its insertion point to a point and rotation on a straight. This will automatically size and connect the part being cut into, if possible.
public static bool AlignPartByInsertionPointAndCutInToStraight(
	Document document,
	ElementId straightId,
	ElementId partId,
	XYZ position,
	double rotation,
	double slope,
	bool flip
)
Return Value bool True if the alignment succeeds, false otherwise.