Skip to main content
Solved

AutoCAD Viewport Scale

  • October 22, 2019
  • 2 replies
  • 47 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

becchr
Influencer
Forum|alt.badge.img+33
  • 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

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.