I am trying to make several changes to a sheet metal part including using a bend table with different thicknesses in different configurations but i can't seem to get past the first step of overriding the default bend parameters in order to allow the thickness to be configured.
I have ended up with basically exactly the same code as here: (basically just the name of the sheet metal feature itself is different)
All the code seems to work fine, the sheet metal feature is selected, I can read the different override status' for each but setting the bend parameter override does nothing.
Has anyone successfully implemented this particular api tool, is there something I am missing?
Edit: in case anyone runs into this I missed a line required to update the feature definition as shown here:
command is in this line:
bRet = swFeat.ModifyDefinition(swSheetMetal, swModel, Nothing): Debug.Assert bRet