How get all entities of the SW drawing

Nov 28, 2003 3 Replies

Hello



I have to programatically get list of all entities of the SolidWorks drawing. Is anyone know how do it?



Thanks


what do you mean by entities? there is no get all entities in a drawing. if you mean View::GetLines4, View::GetFirstNote, View::GetFirstWeldSymbol, View::GetFirstAnnotation2, View::GetDimensionDisplayInfo4, View::GetDimensionString3, View::GetSketch then thats different.

View::GetPolylines returns the actual view (projected, cut...) geometry. The result requires some processing to be usable. Then, using View::GetViewXform, you might be able to find the corresponding 3D Edges, but it is hard...

Ok, Sean Phillips I got it. I understand that there no function to get all entities, and I have use different functions to do it. Thank You Felix

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required