GetFaces on a Section View

Hi All!

How can I select all the Faces in a Section View?

First I used the DrawingComponent::GetChildren() to iterate all the components.

Then I tried using the IBody2::GetFaces(), then used Face2::GetEdges().

But I think since IBody2 is applicable to 3D, my code selects the Edges in 3D and not in 2D.

What function should I use to select the Edges in 2D instead of 3D.

Thanks in advance!

Best Regards,

Joecel

SolidworksApi macros