Skip to main content
Question

DWG Paperspace

  • January 14, 2020
  • 2 replies
  • 42 views

deanhowell
Influencer
Forum|alt.badge.img+24

If I use the DWG Reader setting 'Read Model Space Entities Through Viewport' set to Yes, is there a way to determine which features are being read through the viewport?

I need to be able to test all features in the DWG but want to test features only based on where they originate from i.e. model space or paper space.

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

chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • January 16, 2020

Hi @deanhowell,

The easiest way to determine if the feature is read from model space or paper space is using the autocad_space format attribute. If you are only interested in features that were read in from the layout, then you would first need to expose the autocad_space format attribute using either an AttributeExposer or in the Reader Feature type on the Format Attributes tab. Once exposed, you will be able to filter based on the autocad_space attribute in the Tester.

The coordinates are also a good indication of whether features are being read in from paper or model space.

Hope that helps.


deanhowell
Influencer
Forum|alt.badge.img+24
  • Author
  • Influencer
  • January 16, 2020

Hi @deanhowell,

The easiest way to determine if the feature is read from model space or paper space is using the autocad_space format attribute. If you are only interested in features that were read in from the layout, then you would first need to expose the autocad_space format attribute using either an AttributeExposer or in the Reader Feature type on the Format Attributes tab. Once exposed, you will be able to filter based on the autocad_space attribute in the Tester.

The coordinates are also a good indication of whether features are being read in from paper or model space.

Hope that helps.

Thanks @chrisatsafe, I am exposing the autocad_space attribute but with the read through attribute set the features that come from model space but are viewed in paperspace get the paper space attribute. In essence it reads features more than once. I have ended up using a spatial filter with the view ports to eliminate features that are in the viewport but it only works if the user has not manually added features in paperspace onto of the viewport.