Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Is there any way to place all the items in an Inventor Collection into ArrayList or HashSet?
For Example:
Dim oPartDoc As PartDocument = ThisApplication.ActiveDocument Dim oCompDef As PartComponentDefinition = oPartDoc.ComponentDefinition Dim oSB As SurfaceBody = oCompDef.SurfaceBodies(1) Dim oFaces As Faces = oSB.Faces 'Is there any way to place all the items in oFaces into FaceArrayList or FaceHashSet without a loop? Dim FaceArrayList As New ArrayList 'FaceArrayList = oFaces Dim FaceHashSet As New HashSet(Of Object) 'FaceHashSet.UnionWith(oFaces)
Solved! Go to Solution.