I have an assembly with multiple configurations. I want to suppress a specific part in a specific configuration.
This is my code:
Dim vConfParam(0) As Object
Dim vConfValue(0) As Object
vConfParam(0) = "\$STATE@screw<1>"
vConfValue(0) = "S"
bRet = swModel.ConfigurationManager.SetConfigurationParams(configurationName, vConfParam, vConfValue)
This always returns false.
My vConfParam and vConfValue arrays are setup to look just like they do when they come from bRet = swConfigMgr.GetConfigurationParams(activeConfigName, vConfParam, vConfValue)
Does the SetConfigurationParams require different arrays than GetConfigurationParams gives?
SolidworksApi/macros