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.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register