How do I get a box with a red box?


How do I get a box with a red box?

Thank you, I have solved this problem. The existing API does not have a way to directly solve my problem. My idea is the same as yours. I need to get the height of each annotated text. I need to pay attention to whether the text is on the left or right, top or bottom, otherwise there will be errors.

I think he means the outline of the view. Use the method GetOutline…

https://help.solidworks.com/2018/english/api/sldworksapi/get_view_bounding_box_and_position_example_vb.htm


I know this method called GetOutline, but it’s not what I’m looking for. I want to get the biggest box of all the annotations.