Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: Anonymous

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...