Message 1 of 3
Access Work Surfaces in Assembly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Im trying to do this
'Check through each surface in the part and see if it uses the special appearances
For Each oWrkSurf As WorkSurface In oPartDoc.ComponentDefinition.WorkSurfaces
For Each oSrfBody As SurfaceBody In oWrkSurf.SurfaceBodies
For Each oFace As Face In oSrfBody.Faces
I'm aware that SurfaceBodies cannot be created within an assembly. However, I'm trying to access SurfaceBodies that have already been created in a part within the assembly I'm working on. Is this possible, or should I approach this problem differently?