I need a macro to autosize all planes in a part or assembly file.
I found this macro but it doesn't work for me.
Because my planes are hidden and a hidden plane can't be autosized. (If I right click a hidden plane, there is no autosize command)
And obviously I don't want to show all hidden planes manually before running this macro.
I tried to add swFeat.Visible=True to the macro, but I received an error that swFeat.visible is read only and I can't assign a value to it.
How can I make planes visible in this macro to be able to autosize them?
Or if not possible, is there any macro for autosizing hidden planes?
Thanks for any kind of advice.