CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 5399

CAD tip CAD tip # 4053:

Question CAD 
 %  platform  category 
Q - question

"Invalid field specification" trying to ATTEXT a SDF/CDF file

A - answer You want to export (extract) block attributes to a comma- or space-delimited text file using a custom template file but AutoCAD reports the error 'Invalid field specification'.

Make sure you are using a proper format for the template file (an ASCII file) - e.g. (for blocks with the attributes "Name" and "Height"):

BL:Name   C016000
Name      C016000
Height    N004001
There should be no additional CRLF (Enter/Newline) character at the end of the last line.

Instead of ATREXT you can also try the new EATTEXT command.

100% *  CAD 
6.10.2004    20719×  
Prices - CAD eShop:

See also:
Tip 13855:DBXscanLayers and DBXscanBlocks - bulk report content of DWG files in a folder.
Tip 11898:Automatic schedule - number of blocks in a drawing.
Tip 11492:Adding selected numbers in drawing texts - counting numbers (GrSelNum).
Tip 5883:How to measure distance along a curve?
Tip 5636:What for are the AutoCAD .DXE files?

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.