Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Update Lisp not working in 2014

10 REPLIES 10
Reply
Message 1 of 11
flowera87
468 Views, 10 Replies

Update Lisp not working in 2014

Hi,

 

I have been using a lisp (UPDATE) for many years. It updates the titleblock attributes in accordance with an excel spreadsheet. The spreadsheet creates a copy to a .csv file. Then a simple .txt pointer file directs each drawing to its contents in the CSV. Each attribute is linked via its attribute TAG.

 

For years there has been no problem, but now after updating to 2014, when running the UPDATE.lisp it redirects to the 'UPDATEFIELD' command asks to select objects. The attributes are also locked and can't be selected. It may have nothing to do with the lisp and rather just a protection on the attributes?

Can anyone help?

 

I know this problem is specific to 2014, because with all the same files I have tested on both 2012 & 2013 succesfully.

 

Attached is the sampel dwg., lisp, regisrer xls, csv and the point file.

Tags (1)
10 REPLIES 10
Message 2 of 11
doni49
in reply to: flowera87

Welcome to the forum!

 

You'd relieve yourself of a LOT of grief if you switch to using Sheet Set Manager with Fields in your title blocks.

 

 

Beyond that, I'll take a look at your files later (assuming I get some free time).



Don Ireland
Engineering Design Technician




If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.


Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.

Message 3 of 11
flowera87
in reply to: doni49

Thanks Doni. We use SSM too. However this is for a different purpose and is more powerful in some aspects.
Thanks for the help.

Message 4 of 11
rkmcswain
in reply to: flowera87

I have not looked at your files, but just for grins, make sure QAFLAGS = 0

Sometimes this obscure sysvar can cause grief such as you mentioned.

R.K. McSwain     | CADpanacea | on twitter
Message 5 of 11
flowera87
in reply to: rkmcswain

Sorry, just tried that with no success. Thanks though.
Message 6 of 11
rkmcswain
in reply to: flowera87

I opened your drawing, loaded the lisp file, ran UPDATE, and I get:

********** Xref List NOT Found *********
R.K. McSwain     | CADpanacea | on twitter
Message 7 of 11
flowera87
in reply to: rkmcswain

I meant to attach the pointer file and the titleblock xref, but was limitted to 3 attachments. You may need to redirect the point file to wherever you saved the register. Just copy paste the URL across.

Message 8 of 11
rkmcswain
in reply to: flowera87

Now it's looking for the CSV file.
R.K. McSwain     | CADpanacea | on twitter
Message 9 of 11
flowera87
in reply to: rkmcswain

In the .XLS file there is a button that says 'Write CSV File'. Enable macros (if its disabled) and click it.

Message 10 of 11
rkmcswain
in reply to: flowera87

Not sure what result I'm looking for, but here is the command line output after I ran it seemingly successfully using 2014.

 

Command:
Command: UPDATE

 ********** Xref List NOT Found *********
 ----- _DWGLISTCSV.TXT file found -----
 ----- Reading C:\Temp\Forum\2014.000.000_Detailed_Design.csv ------layout
"-LAYOUT"
Enter layout option [Copy/Delete/New/Template/Rename/SAveas/Set/?] <set>: rename
Enter layout to rename <(D)>:
Enter new layout name: (D) Layout "(D)" renamed to "(D)".

Command:
 ......... 11_DRAWING_STAMP Updated .........
 ......... 10_SCALES Updated .........
 ......... JOB_NUMBER Updated .........
 ......... DWG_NO Updated .........
 ......... REV Updated .........
 ......... PROJECT Updated .........
 ......... 10_LOCATION Updated .........
 ......... 11_CLIENT Updated .........
 ......... DRAWING_TITLE Updated .........
 ......... 12_ARCHITECT Updated .........
 ......... 13_ASSOCIATE_CONSULTANT Updated .........
 ......... 12_REV_1 Updated .........
 ......... 13_DATE_1 Updated .........
 ......... 14_DESCRIPTION_1 Updated .........
 ......... 15_DESIGN_1 Updated .........
 ......... 16_DRAWN_1 Updated .........
 ......... 17_CHECKED_1 Updated .........
 ......... 18_APPROVED_1 Updated .........
 ......... 19_RPEQ_1 Updated .........
 ......... 20_REV_2 Updated .........
 ......... 21_DATE_2 Updated .........
 ......... 22_DESCRIPTION_2 Updated .........
 ......... 23_DESIGN_2 Updated .........
 ......... 24_DRAWN_2 Updated .........
 ......... 25_CHECKED_2 Updated .........
 ......... 26_APPROVED_2 Updated .........
 ......... 27_RPEQ_2 Updated .........
 ......... 28_REV_3 Updated .........
 ......... 29_DATE_3 Updated .........
 ......... 30_DESCRIPTION_3 Updated .........
 ......... 31_DESIGN_3 Updated .........
 ......... 32_DRAWN_3 Updated .........
 ......... 33_CHECKED_3 Updated .........
 ......... 34_APPROVED_3 Updated .........
 ......... 35_RPEQ_3 Updated .........
 ......... 36_REV_4 Updated .........
 ......... 37_DATE_4 Updated .........
 ......... 38_DESCRIPTION_4 Updated .........
 ......... 39_DESIGN_4 Updated .........
 ......... 40_DRAWN_4 Updated .........
 ......... 41_CHECKED_4 Updated .........
 ......... 42_APPROVED_4 Updated .........
 ......... 43_RPEQ_4 Updated .........

 

R.K. McSwain     | CADpanacea | on twitter
Message 11 of 11
flowera87
in reply to: rkmcswain

Yes that is working. Any idea when I run it on mine it prompts me to 'select objects'. And even if I were to select it doesn't do anything. i would show you my command line, but its shows nothing.

Like I mentioned earlier, I have a version of 2012 on my machine and it works fine, and my neighbour tested on his 2013 successfully.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost