Good morning everyone,
I could use some help with a I logic project I am working on. I have created and published a formed sheet metal angle to our content center with no issues. However I am having issues after placing from the content center into an assembly with the active style not applying the correct sheet metal rule on size changes. The thickness will update, however the bend will fail due to the sheet metal rule not updating. So I created a simple external I logic code to set the active sheet metal style, this only works on a part level basis and I am hoping someone can help me make it work in the assembly level during the change in size.
I have attached the ipart I placed inside the content center, the family table spreadsheet from the content center, and the external i logic code I tried for setting the active sheet metal style.
I logic masters what am I missing?
Thank you in advance,
Isaac
Solved! Go to Solution.
Solved by HermJan.Otterman. Go to Solution.
Hello Ikruse,
I have created a screencast, http://autode.sk/2fowvrY
The problem is that the models Thickness is not corresponding with sheetmetal styles thickness,
in the Ipart list delete the THICKNESS column.
in the model set the Thickness to the Thickness parameter.
I turned off the rules because they might get in the way.
and then the part works....
after that You can publish it, but as far as I know, the Ilogic rules don't come with it!.
I hope this helps.
to shorten your iLogic code:
Dim ostring As String = "SH77676-4xt"
Dim Firstpart As String = Strings.Left(ostring, Strings.InStr(ostring, "-") - 1)
the second line will return "SH77676"
so, this can replace your long iLogic rule.
Dim ostring As String = iProperties.Material
Dim Firstpart As String = Strings.Left(ostring, Strings.InStr(ostring, "-") - 1)
SheetMetal.SetActiveStyle(Firstpart)