• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor

    Reply
    Mentor
    j.vanderheijden
    Posts: 228
    Registered: ‎06-13-2011

    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...
    Please use plain text.
    Mentor
    j.vanderheijden
    Posts: 228
    Registered: ‎06-13-2011

    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...
    Please use plain text.