Inventor General Discussion

Reply
Mentor
j.vanderheijden
Posts: 237
Registered: ‎06-13-2011
Message 11 of 12 (59 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 (51 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...
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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