Skip to main content
Question

How do I add attributes to AutoCAD Blocks

  • November 16, 2016
  • 3 replies
  • 77 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?

3 replies

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • November 16, 2016

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+22
  • Influencer
  • November 17, 2016

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
  • August 30, 2018

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


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