CIARLY
Guest
in a macro made a while ago I loaded several parts to which I changed some size, I decided to mix it with the functions if I create or not other configurations.
My problem is that starting from one side with one configuration when I create a second configuration and I want to set that quota with one measure, there is a possibility to set it up for "this configuration"
first everything worked because I started out with multiple configurations, so it was enough to activate them in sequence and give them the various values, now instead starting with a configuration only the odds start with the attribute "for all configurations"
Does anyone know the system by code to change the attribute?
I attach a piece of code I use.
"if cas1_f = 1 then
boolstatus = part.addconfiguration2("cassone_1a", "", "", false, false, false, true, 257)
part.showconfiguration2 ("cassone_1a")
part.parameter("length@cassone1@" + front).systemvalue = excel.range("b15").value * 0.001
part.editrebuild3
else"
My problem is that starting from one side with one configuration when I create a second configuration and I want to set that quota with one measure, there is a possibility to set it up for "this configuration"
first everything worked because I started out with multiple configurations, so it was enough to activate them in sequence and give them the various values, now instead starting with a configuration only the odds start with the attribute "for all configurations"
Does anyone know the system by code to change the attribute?
I attach a piece of code I use.
"if cas1_f = 1 then
boolstatus = part.addconfiguration2("cassone_1a", "", "", false, false, false, true, 257)
part.showconfiguration2 ("cassone_1a")
part.parameter("length@cassone1@" + front).systemvalue = excel.range("b15").value * 0.001
part.editrebuild3
else"