Section view dimensions

Hii everyone,

I want to add dimensions to only hole edges in section view. Is it posible to recognise hole edges in  section view?

I tried it using edge feature type but in section view i am not getting perfect type. Is there any right direction to find it?  Thanks in advance..

SolidworksApi/macros
Answers 4
PB
PB 2021-03-26 Best Answer

Can you share some code that we can start with? That makes it a lot easier for us to help you.

DD
DD 2021-03-26

In my case, I have a nonparametric body in drawing so i preffered to sort faces by geometry type. So i did take faces from section view which are cylinder as a type and then taking edges from them. Then further i am sorting edge by calculating its angle and applying dimensions.

PB
PB 2021-03-26

Can you share the solution so that it's useful to other people that have the same question?

DD
DD 2021-03-26

Thanks for your response, actually i got solution.