Anonymous
in reply to:
Anonymous
11-15-2018
07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-15-2018
07:59 AM
Little update :
I tried to do the exact same thing with C# and it worked first try. Here is the code (very simple) :
app = AddInServer.InventorApplication; var activePart = (PartDocument) app.ActiveDocument; PartComponentDefinition compDef = activePart.ComponentDefinition; PartFeatures pFeats = compDef.Features; ClientFeatures cFeatures = pFeats.ClientFeatures; ClientFeatureDefinition featDef = cFeatures.CreateDefinition(); ClientFeature cFeat = cFeatures.Add(featDef, "testClientFeatID");
To me it looks like the C++ API is not workink properly...