CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 2662 

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    19062×  

See also:
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?
Tip 5377:Two undocumented commands in AutoCAD 2006/2007.

Back   All CAD Tips All CAD tips&tricks

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   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info

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