Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

serhat.erdogan
344 Vistas, 1 Respuesta

attext command does not work for blocks with no custom attribute definition

I would like to extract some default properties of the blocks I have on my drawing, such as block name `BL:NAME` and position on drawing `BL:X`, `BL:Y`. But I do not have any custom attributes defined on any of the blocks. 

 

I would like to extract these properties into a csv file on Mac. On windows this can be done very easily by using the DATAEXTRACTION tool. But on Mac I followed the process described on https://knowledge.autodesk.com/support/autocad-for-mac/learn-explore/caas/CloudHelp/cloudhelp/2021/E... and tried using `-attext` command. However, this command simply does not do anything on drawings in which blocks have no custom attribute definition, even if the template file I use only asks for block name and position, which are the default properties that all block objects have. Is there a way to make it work? Only when I add a block and define a dummy attribute in it can I make the command work. But this is neither elegant nor practical.