2027 Method
Changes 0
M

SolidSolidCutUtils.AddCutBetweenSolids

Description:
Adds a solid-solid cut for the two elements.
Remarks:
This utility will split faces of cutting solid by default.
Overloads (2):
AddCutBetweenSolids(Document,Element,Element)
public static void AddCutBetweenSolids(
	Document document,
	Element solidToBeCut,
	Element cuttingSolid
)
  • document
    The document containing the two elements.
  • solidToBeCut
    The solid to be cut.
  • cuttingSolid
    The cutting solid.
  • The element must be in a project document or in a conceptual model, pattern based curtain panel, or adaptive component family. -or- The element does not meet the condition that it must be solid and must be a GenericForm, GeomCombination, or a FamilyInstance.
  • A non-optional argument was null
  • Failed to add solid-solid cut for the two elements.