I have a favor to ask. In my drawings i have two distinct layer names (Say "ew" and "ns"). On these layers i have numerous plain text numbers in 5mm increments which are repeated many times throughout the drawing. What i would like to do is be able to start a VBA macro, have it ask the user to select an area by window on the drawing file, and have VBA look up and count the sum of all instances of each number occurring in the selected window. Then dump them into an excel spread sheet which i will then manipulate from there. An example output would look something like below: "NS" Layer Quantities... Height 25 30 35 40 45 and so on Total 56 33 62 39 50 "EW" Layer Quantities... Height 25 30 35 40 45 and so on Total 56 33 62 39 50 The ouput would require two rows of information. The top number would be the number on the drawing as text item and the lower row would be the total number of times that number appears in the selected area.
i want to extract specific data from the .dwg file.i used data extraction and selected the objects to be extracted and it worked well.But when i used the same .dxe file as a template to extract data from the whole folder,then a lot of other unwanted data is also getting extracted.i have attached a sample file .what i want is a code through which i can select the data(for example the dwg name,no,date) and it gets extracted to a particular cell in excel.i had tried the txt2xls.lsp file.but am getting errors.
Seems like i export the data of thickness, diameter, lenght and mass to excel via dataextraction, but if i change something in the drawing, its not updated in the excel file..
I also wanted to export the data to an already existing part list template, but this seems impossible...
auto-extracting text from PSD files (with layers)? This has been a frustrating exercise for me as it is difficult to do this evertime i need to create a database from the text.
I have a drawing which has hundreds of levels on and i'm trying to establish what the MEAN level is and the AVERAGE level. I thought the best way might be to extract the text to excel and perform it there but at the moment the only way i can do it is to copy and paste the text and its taking me forever. Is there a way to either a) extract text to excel or b) calculate a MEAN value based on texted selected?
I have 2 to 6 tables per drawing, each at a maximum of 48 cells. I linked them through the special paste and expended them so each cell is 6" Wide and 1" Tall (in model space) and seen through a viewport at 2" = 1'-0" (so 1" wide by .167" tall). The text is noticeably fuzzy and I'm trying to clear it up without going back to the Tables (the reformatting of the Tables already spent an extra 2 hours on one of the 11 assignments).
I am trying to export a manually generated material list (not an AutoCAD "table") to an Excel spreadsheet or a .csv file. I've tried selecting the text and right clicking, but there is no export option. I've also tried selecting the text and going directly to Export, but I see no option to save it as a .csv.
I'm trying to link a text from Autocad to an excel spreadsheet so that when changed in Excel, be changed in autocad.
After searching on some forums, I started doing database through ODBC.
I made a table in excel selecting and naming fields, added the file in windows OBDC manager, able to make the connection through dbConnect autocad, created label ...
Now I need to put the information in the database autocad text entity and already there I'm not getting more done
I have an excel cell whose value i want to use as the text of a dimension that i've used text override, How do i do that?
So for example, i have line that is currently dimensioned. The dimension call out is using the text override feature and it's currently labeled "Fs = 4in". In my excel spreadsheet, cell A1 has the value 8, how do i make the text in the autocad now say "Fs = 8in"?
I want to copy a value/text in cells from excel and paste it in specific mtxt that has been made in existing .DWG file.
I have done it by copy and paste, but it doesn't work effectively since there's too many cells to be pasted.
One of my cells entry which should be copy is in D5 and the coordinate of mtxt in autocad is (17,46 15,03 0,000) both of those file is located in same folder
Any method to export text to excel such that the text is editable within excel?
I have a column of text (each text line is an individual mtext entity) and I would like them to appear in a column format in excel where each mtext entity has it's own cell.
I have a lot of AutoCAD files which have embedded OLE objects (excel) inside. I want to be able to export only the text from the Excel OLE object using VBA (or Lisp, I don't mind which) without having to fire up the OLE application (i.e. Excel).
The embedded OLE objects have no link to any external files - so I imagine it must all be held somehow inside the AutoCAD file, but how it can be accessed?!!?
is it possible to import a microsoft excel table to auto cad and have it be autocad lines and text? it is a rather large table and would save me alot of time if i didnt have to redraft it.
I'm trying to paste in things like "N.G.", "Top of Bank", "Edge of Water" all at certain points to annotate the topography. I've tried the following:
text N.G 800,90 text Top of Bank 820,90
But I keep getting the prompt for annotation angle and it gets stuck there so I tried:
text N.G 800,90 90 text Top of Bank 820,90 90
But the same thing occurs. I need the text to be vertical. I've done some searching here, but haven't come up with much. I don't want to resort to creating blocks and importing the attributes as I'm sure it's much easier than that.
I have an autocad drawing with so many light fixtures with all different names.Now we have to change all those names, i already have an excel sheet containing two columns with first one containing "name in drawing" and second one containing respective "new name".
Is there any way to replace the names in cad file using that excel sheet.i just dont want to do all those thousand rename manually ...
I want to be able to edit text by editing a cell in excel. I am not sure if there is any way to do it with AutoCAD LT 2004 and Microsoft Office Excel 2003.
I would like to link a series of text lines in an autocad drawing to there corresponding fields in an excel sheet, I can not use tables in autocad because of the way other software uses the text in autocad. I have attached files of the text layout in acad and of the sheet in excel. One thing that keeps me from using tables in acad is that every line of text is on a different layer, with tables you can't control the layer of table its always on the current layer.
I created some tables in the attached AutoCAD Map 3D 2011 drawing by copying and pasting cells from an Excel 2007 workbook.
I have been able to update the tables in AutoCAD and print without any problems. However, when a second user opened the drawing, the table text was missing (the lines were present).
Note: We are saving our files in AutoCAD 2010 format for compatibility with some LT users.
I am using AutoCAD Mechanical 2013. (Full version).If there is SLD with different HP rating, tag names and different cable ferrule numbers, and if there is any small change in HP rating of motor or small change in tag name, then it is time consuming work for me to go to AutoCAD and change the text by referring Excel sheet.
Is there any way to link excel sheet to AutoCAD drawings? So i can take updated excel sheet and link it with AutoCAD and if there is any change in excel sheet then it will be updated in CAD file as well.If there is any setting or grid referencing to be made. I am ready to do the required changes to meet my requirement.
I am trying to export what looks like a table of text to Excel. The problem I have is the table is not an actual TABLE within AutoCAD but rather just columns of text with lines drawn around it. How I can grab this text and then put it into an Excel Spreadsheet.
I tried many times to paste excel table into autocad using paste special/paste link/autocad entities/. The first problem is that the table is coming out with text all over the place, not properly formatted. When I click on the table it's covered by some kind of frame or hatch-like. I am using 2010 Office pro Excel. See attached.
I am new to VBA for Autocad and have basic knowledge of Autocad, but have experience with VBA with EXCEL. I am trying to search for text written on to a drawing that has been written as plain text. There is no table. I am writing code to open each drawing in the file as a for each next loop and then find text, then copy text to a table cell, in a table set up within the loop statement. Then I intend to transfer the data to Excel. When I copy the text into the cells of the table and transfer to Excel, the text does not transfer. Is there something I need to do to re-format the text copied straight from the drawing into the table cell. The drawngs have been produced by some external drafting service provider, most likely in India. The functionality of Autocad has not been used and therefore, there are no tables. The text titles, sub-titles etc... are just basically text with lines drawn around them, to simulate a table that looks like a table but are infact not.
My main problem is copying the plain text (titles, sub-titles, references etc...) into a table cell for export to Excel. Any knowledge of copying Autocad plain text to Autocad table cells
I'm dimensioning an old drawing with the real (measured) dimensions and with the drawing dimensions in brackets (using ' 1500 (<>)' to give '1500 (1505)' for example.
What I'd like is to also be able to put on the difference between the length I type in and the length in brackets - as this would let me see any really glaring errors that can't be attributed to user-error on the laser measure.So I could type in '1500 (<>) (X)' where X is the formula, and get ' 1500 (1505) (5)' back?
How to be able to run a script that could highlight any dimensions where the number is brackets and the typed number have a a difference of, say, 50.Or failing that, any way to extract all the dimension text at the end into excel so I can see the differences myself?
Recently I have been trying to build table driven products and ipart tables, but when I copy a member to create a new part number, upon exiting the iassembly author I get the following message "excel installation is required for this operation. failed to launch excel". I have a fully functional version of 2010 Excel installed which has been used so it should be recognized in the windows registry. I am running Windows 8 and Autodesk Inventor 2014.
I have AutoCAD 2013 and often "paste special" excel files that automatically update when the excel file changes.The problem I'm running into is I work with a person who has uses an older version of CAD 2004, so I always save to the older format for him.
When I etransmit, I be sure to add the excel file, but when he opens the dwg, only the outline of the excel appears in his dwg, no content.