Hi All,
I posted this problem back in October of 2015. I'm semi-reposting it again because the issue still persists. In a nutshell, the Import Data feature is not importing/updating to the drawings all the data I edit in the exported spreadsheet. When I say "all the data", I mean all relevant data in the following tabs: COMP, TERM, WIRENO, PNLCOMP, & PNLTERM (more on that below). The results are a mixed bag leading to one of the following outcomes:
NOTE: The same mixed results outlined above apply to wire numbers and terminals throughout the project.
The unpredictable results make it difficult to troubleshoot the problem. Before I import the data 'From Spreadsheet', all parent symbols, child symbols, and their peers share their respective INST, LOC, & TAG attributes and fully link to one another in the project. They can be surfed from one sheet to another, so the relationships are verified prior to running the update.
I'll use the same example I used in my previous post to outline the steps I take:
J1012 is an old panel designation and J1008 is a newly added panel designation that is an exact copy of panel J1012, except for the obvious name changes. Steps:
That's it. I can't think of why AutoCAD is selectively changing certain fields and not others, when all fields in question were changed in the spreadsheet. I'm not messing with the format of the individual cells or the column headers in any way. All of the canned "demos" of this feature show an automated, flawless updating process that really sells the product. The nature of the work I'm doing required 100% customization of all symbols, blocks, etc. so a standard demonstration of the tool doesn't help me much.
Any helpful info will get enthusiastic kudos. 🙂
Thanks,
Tim T.
P&C Designer
Substation Relay
Ampirical Solutions, LLC
Be sure that all data in the spreadsheet remains as ASCII text. If you manipulate numerical values Excel might convert the cells to actual numbers. There is a Macro that pushes out with the spreadsheet export called Convert to Text. Run this macro for all spreadsheet pages that you edit.
Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi Doug,
Thanks for the reply.
I ran it again and, this time, I highlighted all of the cells in each tab and changed the cell format to 'text'. Is that what you meant by the macro? I ran the 'from spreadsheet' command and, unfortunately, got the same results as before. I thought this would at least solve the issue I was having with wire numbers not updating.
The example below is a microcosm of a problem that applies to everything from schematic terminals to wire numbers, etc.
Some notes:
If this issue is solved, I have a feeling it will apply to every other issue I'm having with this command.
Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi Doug,
I tried it again this afternoon. I enabled macros in Microsoft Excel 2010, executed an AEREBUILDDB prior to exporting from AutoCAD, and again made sure that all cells were 'text' format. Unfortunately, I still get the same results - or lack thereof.
I experienced some success with wire numbers, but only if I exported just the wire numbers from a single active drawing, edit them, and import them back into the active drawing. Trying to use the "General" tab for the same active drawing gave the following return:
AutoCAD Electrical Export --> Spreadsheet
COMP: 48
TERM: 77
PLCMOD: 0
PLCIODESC: 0
SIG: 6
WNUM: 20
PNLCOMP: 0
PNLTERM: 0
Exported file: \\ampsrv3\ahome\trt01\My Documents\0_AutoCAD Electrical Data\SSTESTD05_01.XLS
Data lines extracted: 151
Command:
Command:
Command:
Command:
Drawing Update from spreadsheet
Command:
Command:
Command:
Command:
Drawing Update from spreadsheet
Updating COMP
Error: bad argument type: stringp nil
I converted a client's current "dumb" CAD drawings into AutoCAD Electrical for a POC project. For that client, and company I'm working with, one of the requirements for adopting the AutoCAD Electrical platform is the ability to mass-edit project data very quickly and accurately. Unfortunately, if the project-wide update option doesn't function properly, it renders the entire Export/Import Data feature all but a complete waste of time for us, and may eliminate AutoCAD Electrical from consideration. This seems to work for most people out there, so I can only think there is something wrong with my project file(s) or blocks, or both. Back to the drawing board 🙂
Thanks for all the help, Doug. Kudos for trying.
Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
I have noticed that if I import data from spreadsheet to parent symbols in one drawing, AutoCAD electrical doesn't automatically update the child/peer references that are located in other drawings. I was expecting AE to automatically update the related symbols. Is there a command for updating parent/child/peer symbols? The update/retag doesn't work because it automatically reassigns TAG info.
Like I said in the previous post, the spreadsheet export, creates a spreadsheet with the values of the block attributes in ASCII format. You can use the power of Excel to make changes but when you Import from the spreadsheet all you are doing is overwriting attribute values. There is no downstream automation. For example, if you change the part number assignment of a schematic symbol for a circuit breaker and run the Import/Update, there will be no additional command trigger to perform a bi-directional update to change the associated footprint part number, and the possible subsequent swap-out of the footprint symbol itself. Such command sequences are only called up when you assign or change the circuit breaker with the AutoCAD Electrical Component Edit utility.
Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
I know this is a really old thread now, but it is relevant. (Using ACADE 2021)
When importing "From Spreadsheet", the information is taken correctly if "Active Drawing" is chosen.
If instead "Project" is selected, ACADE appears to be going through the process, opening & closing each drawing selected from the list, but the information is not pulled in. (In this case, MFG & ITEM from the COMP tab).
Strange that it'd work for one & not both the same.
So, thanks to dougmcalexander, I realized that my Excel Macro changed the cell format.
The solution for me was to select all the whole sheet & change the cells to "General". (And I'm not sure if this next step is necessary, but it worked). I then selected just the header & changed its format to "Text." After that, importing to more than one drawing at a time was successful.
Can't find what you're looking for? Ask the community or share your knowledge.