Hello,
I'm trying to extract all bendline parameters from a SolidWorks Part model. I know that the bendline direction can be obtained using sketchLine.GetBendLineDirection()
. However, I need to retrieve other information as well. I've attempted to use IPartDoc.InsertBendNotes()
, but it's not working as expected.
Here's the code snippet I'm trying:
Feature feature = model.FirstFeature(); while (feature != null) { if (feature.GetTypeName2() == "FlatPattern") { Note[] bendNotes = ((PartDoc)model).InsertBendNotes(feature); //returns NULL
Thank you for your help.