Inventor General Discussion

Reply
Mentor
j.vanderheijden
Posts: 237
Registered: ‎06-13-2011
Message 11 of 12 (61 Views)

Re: Sheet Metal styles

12-11-2012 11:33 AM in reply to: japike

I have made a rule to control the overlap who isn't work all the time.

currentStyle = SheetMetal.GetActiveStyle()

If currentStyle = "Inteco_0.7" Then
   Parameter("overlap1") = 0.8 ul

Else If currentStyle = "Kemi" Then
    Parameter("overlap1") = 0.1 ul

End If

InventorVb.DocumentUpdate()

 

The parameter "overlap1" has to control the overlap in the Corner Seam.

But i have to change first something in the rule and then when i change the style it works one time.

Do i miss something?

 

Mvg Jos

Your drawings are only as good as the symbols that complete them...
Mentor
j.vanderheijden
Posts: 237
Registered: ‎06-13-2011
Message 12 of 12 (53 Views)

Re: Sheet Metal styles

12-11-2012 12:52 PM in reply to: j.vanderheijden

I know the problem.

Everytime i change the style i have to right click the rule and give run rule.

Why isn't that go automatic when i change the style?

Mvg Jos

Your drawings are only as good as the symbols that complete them...
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.