How get all entities of the SW drawing

Hello

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

Thanks

Reply to
fcreator
Loading thread data ...

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.

Reply to
Sean Phillips

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...

Reply to
Philippe Guglielmetti

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

Reply to
fcreator

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.