AnsweredAssumed Answered

How to change a view to shaded with edges?

Question asked by Adam Hoffman on Oct 21, 2014
Latest reply on Oct 21, 2014 by Daniel Andersson

I'm creating a newer version of a previous macro for my company and was asked to add something to it. All of our drawings as a standard get a shaded with edges isometric view inserted into the drawing. I've tried multiple times to get this to work but with no luck. I'm writing this as an add-in using Here is what I have so far:


Dim bRet as Boolean = False


bRet = swIsoView.SetDisplayMode3(True, swDisplayMode_e.swSHADED_EDGES, False, True)


The bRet value comes back true but the view itself does not change. Here is what I'm trying to do:


Turn this:



Into this:



Is there another setting that I have to change for the ShadedWithEdges to take effect? Any help would be appreciated. Thank you.