Message 1 of 1
add part flat pattern as ComponentOccurrence

Not applicable
06-18-2012
08:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to add parts as flat patterns to an assembly using the ComponentOccurrence in another assembly. i can add the parts but not as flat patterns. Any help would be great.
Regards Malcolm
'Add all the occurrances for this part
For J = 1 To Val(ReturnFieldValue(GlobalRouterList.Item(I), 4))
oOcc = oAssm.ComponentDefinition.Occurrences.Add(ReturnFieldValue(GlobalRouterList.Item(I), 1), oMatrix)
If oOcc.Definition.Type = ObjectTypeEnum.kSheetMetalComponentDefinitionObject Then
'I need to find a way of identifying the flat patterns and adding them to the assembly here.
EndIf
Next