Skip to main content
Solved

Would like to read a DWG and report out (in text, or csv or whatever) a list of all of the layers in that DWG. Any ideas on what transformer to use?

  • April 28, 2021
  • 2 replies
  • 12 views

Forum|alt.badge.img

I am creating a workflow to check incoming DWGs for compatibility. Ideally I would like to compare it to a template file and find any additional layers that have been added, plus report out a few other things. We want an easy report to accept or reject a DWG coming in from outside. TIA!

Best answer by caracadrian

To get a list of layers in dwg you can use AttributeExposer set to autocad_layer followed by Aggregator set with GroupBy on autocad_layer attribute.

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

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • April 29, 2021

To get a list of layers in dwg you can use AttributeExposer set to autocad_layer followed by Aggregator set with GroupBy on autocad_layer attribute.


Forum|alt.badge.img
  • Author
  • April 29, 2021

Worked perfect, thanks. I also got it to work after I posted with the Feature Writer, but I like your way better. Much appreciated!