Can you please let me know what went wrong? I am trying to place a feature control frame to a retrieved dimension. I was creating the GeometryIntent as you suggested.
intent1 = invSheet.CreateGeometryIntent(invGeneralDims.Item(
featureControlRow = invSheet.FeatureControlFrames.CreateFeatureControl
GeometricCharacteristicEnum.kTotalRunout, "0.001", , "A", "B")
featureControl = invSheet.FeatureControlFrames.Add(oLeaderPoints, featureControlRow,False, "C") ' Program fails here.
it is a bit hard to diagnose with code snippet only. Could you compare with the Inventor API sample to check which is wrong at your side? The sample is AddFeatureControlFrame. I took a snapshot for your convenience.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!