Search the Community
Showing results for tags 'eattext'.
-
VBA Data Extraction to Excel-Sheet (DATAEXTRACTION; EATTEXT)
vjdazam posted a topic in .NET, ObjectARX & VBA
Hi, I need to extract Information ("General": Color, etc. and "Geometry": Length, Start Y, End X, etc.") from AutoCAD to an Excel-Sheet using VBA. First I've tried it manually in AutoCAD with the commands DATAEXTRACTION and EATTTEXT and it works. Also I've tried entering in VBA "SendCommand ("DATAEXTRACTION" & vbCr")", then an AutoCAD-window is opened and I have to click on "Next" several times and to specify the folder where I want to save the file. I want that VBA does all this process without the window appearing (I mean "without clicking on "Next" several times and specifying the file path"). Obvious the User has to Input into the code the location where he wants to save the file with the extracted information). Instructions als "For Each Object in ModelSpace: Line.StartPoint, Line.Color, etc." don't help me unfortunately because this way slow down the VBA-program. May anyone help me? Thanks! Regards, -
Attsync + eattext (data extraction)
BudRPerry posted a topic in AutoCAD Bugs, Error Messages & Quirks
(AutoCad 2014) We have many blocks in our drawings. At some point 3 instances of a block was updated and inserted into the drawing. This should automatically update all instances of a block in the drawing. However, 2 existing blocks of the exact same name did not update. They refuse to extract in our "EATTEXT" data extraction because they do not have the updated attribute definitions. However, when one ATTSYNC's the 2 existing blocks they update and will now extract. We cannot go around using ATTSYNC all the time since we have hundreds of different blocks. Anyone else have this same problem? I can enter an asterisk at the Name option for the command ATTSYNC, but it takes forever.