2027 Method
Changes 2
M

Sketch.GetAllElements

Description:
Returns all elements which belong to the sketch.
Remarks:
Following elements can belong to a sketch: ModelCurve, ReferencePlane, Dimension. To get matching between Curve from Profile and ModelCurve, use [!:Autodesk::Revit::DB::Curve::Reference::ElementId].
public IList<ElementId> GetAllElements()
IList<ElementId> Returns ids of elements which belong to that sketch.