• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

set this configuration in macro-quota

  • Thread starter Thread starter CIARLY
  • Start date Start date

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"
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top