Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
I want to set sheet metal active style from with help of input list box.
assembly 999-A.iam
Sub assembly 999-B.iam
Part in sub assembly
999-1.ipt
999-2.ipt
999-3.ipt
999-4.ipt
only for -1,-2 & -3 ipt.
Please help me.
SyntaxEditor Code Snippet
oCompDef = ThisDoc.Document.ComponentDefinition oAssyOccurrences = oCompDef.Occurrences Dim oOccurrence As ComponentOccurrence Dim oSubOccurrence1 As ComponentOccurrence For Each oOccurrence In oAssyOccurrences If oSubOccurrence.Definition.Document = "999-1.ipt" AndAlso platte_selected = "4 mm" Then oSubOccurrence.SheetMetal.SetActiveStyle ="_4 mm S355MC"
Solved! Go to Solution.
