Showing results for 
Search instead for 
Do you mean 
Solved! Go to solution

Obtaining drafting view scale

Hello everyone!


How can I obtain the scale of the drawing view? I tried the .Scale property of the DraftingView object, but it returns different kind of scale, more like zoom. I can read the VWSCALE attribute and get the scale from there, but maybe it is still possible directly from the DraftingView object?


Re: Obtaining drafting view scale

Have you tried recording a journal of setting the view scale for a driawing view?

That should point you to the correct code to read the scale

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled

Re: Obtaining drafting view scale

I did, but I could not utilize that code for my purpose. It looks like a code to set a scale, not to read it. Am I wrong?

Accepted by topic author Scaffold
‎05-25-2017 10:19 AM

Re: Obtaining drafting view scale

{drafting view}.Style.General.Scale


You can query or set the scale with this property.

Re: Obtaining drafting view scale

Thank you!