Hi all. I'm attempting to set the projected dimensions property of a view to "projected" instead of "true" as part of a larger macro. I can't seem to get it to actually set. Is anyone using api to set this property successfully?

Here's my applicable code:

Set swView = Drawing.GetFirstView

If Not swView.ProjectedDimensions Then swView.ProjectedDimensions = True

Pretty basic. The if statement works just fine, but the property doesn't actually change.

I worked with my VAR and we figured out that the getfirstview method wasn't giving me a view, it was giving me the whole drawing. This was part of a macro that was also creating the view, so I just grabbed the view on that line of code instead and it works perfect now.