Skip to main content
Question

How do I add attributes to AutoCAD Blocks

  • Nov 16, 2016 8:11 PM UTC
  • 3 replies
  • 161 views

diwanicka
Forum|alt.badge.img+4

I am trying to write attributes for tree locations to a block I have created using a template with the DWGStyler. Do I need to first specify those attributes in the block template or is it possible to write the attributes to the Blocks when I write the new DWG?

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.

3 replies

itay
Supporter
Forum|alt.badge.img+19
  • Supporter
  • Nov 16, 2016 9:31 PM UTC

I would suggest adding them to the template, so that you always adapt your template ( which is easier to manage and remember)


todd_davis
Influencer
Forum|alt.badge.img+23
  • Influencer
  • Nov 17, 2016 2:40 AM UTC

If you want it for the whole dwg (i.e. all are blocks that have attributes, you can set the output dwg to use "Inserts"

If its just a single layer within the dwg, you can expose a format parameter (autocad_entity) in the output featuretype and pass it the value "autocad_insert"


alanaliberti
Contributor
Forum|alt.badge.img+2
  • Contributor
  • Aug 30, 2018 2:51 PM UTC

Is it possible to fill in the block attributes as well? How should I proceed?