AnsweredAssumed Answered

Get Feature from Sketch

Question asked by Alexandre Gragnano on Jun 7, 2017
Latest reply on Jun 7, 2017 by Alexandre Gragnano

The SW API allow to obtain a Sketch pointer from a Feature pointer with:

var sketch = (Sketch)feature.GetSpecificFeature2();

 

There is a way to obtain a Feature pointer from a Sketch pointer?

var sketch = modelDoc.GetActiveSketch2();
var feature = .......................;

Outcomes