add part flat pattern as ComponentOccurrence

add part flat pattern as ComponentOccurrence

Anonymous
Not applicable
254 Views
0 Replies
Message 1 of 1

add part flat pattern as ComponentOccurrence

Anonymous
Not applicable

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

0 Likes
255 Views
0 Replies
Replies (0)