Sketch.intersectWithSketchPlane Method
Parent Object:
SketchDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/Sketch.h>
Description
Intersects the specified entities (BRepBody, BRepFace, BRepEdge, BRepVertex, SketchCurve, ConstructionPoint, ConstructionAxis, and ConstructionPlane) with the sketch plane and creates sketch geometry that represents the intersection.
Syntax
"sketch_var" is a variable referencing a Sketch object.returnValue = sketch_var.intersectWithSketchPlane(entities)
|
"sketch_var" is a variable referencing a Sketch object.
#include <Fusion/Sketch/Sketch.h>
returnValue = sketch_var->intersectWithSketchPlane(entities);
|
Return Value
SketchEntity[] |
An array returning the sketch entities that were created as a result of the intersections. It's possible that this can come back empty in the case where the input entities don't intersect the sketch plane. |
Parameters
entities |
Base[] |
An array containing the entities to intersect with the sketch plane. |
Samples
Sketch Intersect API Sample |
Intersects the specified entities with the sketch plane and creates sketch geometry that represents the intersection. |
Version
Introduced in version August 2017