Question

How do I add attributes to AutoCAD Blocks

  • 16 November 2016
  • 3 replies
  • 6 views

Badge +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

Badge +16

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

Badge +12

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"

Badge

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

Reply