Skip to main content
Solved

AutoCAD Viewport Scale


deanhowell
Influencer
Forum|alt.badge.img+24

I am trying to work out the actual scale of the viewport(s) in AutoCAD DWG to make sure they conform to a particular scale.

Attached is an example DWG that I am trying to determine the scale of the viewport.

 

Any assistance would be greatly appreciated.

 

Regards

 

Dean

Best answer by becchr

Hi @deanhowell,

 

I'm pretty new to FME, but had the same question on one of my projects too. Maybe there's a more elegant way but this worked for me:

  • in the dwg-reader make sure you read the paper space and select the layouts you want the viewports to read from:

  • in the reader group by 'geometry' so you can select just the viewports as feature types and expose the format attributes 'autocad_viewport_custom_scale' and 'autocad_space'

  • depending of the drawing units and layout units you can calculate a traditional "1:X"-scale

 

Hope this can help you? I attached the workspace with your dwg (i changed and added some viewports just for testing)

acadvpscale.fmwt

View original
Did this help you find an answer to your question?

2 replies

becchr
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • October 23, 2019

Hi @deanhowell,

 

I'm pretty new to FME, but had the same question on one of my projects too. Maybe there's a more elegant way but this worked for me:

  • in the dwg-reader make sure you read the paper space and select the layouts you want the viewports to read from:

  • in the reader group by 'geometry' so you can select just the viewports as feature types and expose the format attributes 'autocad_viewport_custom_scale' and 'autocad_space'

  • depending of the drawing units and layout units you can calculate a traditional "1:X"-scale

 

Hope this can help you? I attached the workspace with your dwg (i changed and added some viewports just for testing)

acadvpscale.fmwt


deanhowell
Influencer
Forum|alt.badge.img+24
  • Author
  • Influencer
  • October 23, 2019
becchr wrote:

Hi @deanhowell,

 

I'm pretty new to FME, but had the same question on one of my projects too. Maybe there's a more elegant way but this worked for me:

  • in the dwg-reader make sure you read the paper space and select the layouts you want the viewports to read from:

  • in the reader group by 'geometry' so you can select just the viewports as feature types and expose the format attributes 'autocad_viewport_custom_scale' and 'autocad_space'

  • depending of the drawing units and layout units you can calculate a traditional "1:X"-scale

 

Hope this can help you? I attached the workspace with your dwg (i changed and added some viewports just for testing)

acadvpscale.fmwt

Thanks @becchr, I appreciate the assistance. That is exactly what I need.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings