Hi all, I am not new in the API programming but I really got stuck. I have the drawing of a part. Is it possible to have a macro to hide/unhide a specific drawing view in my drawing? (e.g. a section view, a detail view).
Thanks in advance,
You need to use swDraw.SuppressView method to hide and swDraw.UnsuppressView method to show the view. And you can find the state i.e. if view is hidden or not using swView.SuppressState method.
For the macro, you can use the record macro button and would get the required codes.
Thanks a lot, it works!
Retrieving data ...