Control Sheet Metal Styles from linked parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I am trying be efficient and make use of iLogic to control Sheet Metal Styles in the model for multiple parts. I have a skeleton file with multi value parameters inside. I want this to control the sheet metal style in multiple parts linked to this skeleton file. I have this code so far but no joy when the skeleton file is modified. I have checked the naming of parameters and sheet metail styles and this is correct. At the moment there are approximately 20 unique parts that would be setup to be controlled in this fashion. My intension was to setup a form that can be controlled from the assembly to alter multiple parameters for the model. If there is a better wahy to achieve this I am open to suggestions.
If BottomThk = "6 mm" Then SheetMetal.SetActiveStyle("MS S275_6") ElseIf BottomThk = "8 mm" Then SheetMetal.SetActiveStyle("MS S275_8") ElseIf BottomThk = "10 mm" Then SheetMetal.SetActiveStyle("MS S275_10") ElseIf BottomThk = "12 mm" Then SheetMetal.SetActiveStyle("MS S275_12") End If iLogicVb.UpdateWhenDone = True
Thanks in advance, Nigel