AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

programming lisp in ACADE - (WD_MDB2_UPD_PRJ_IXLST)

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Wheelie22
569 Views, 2 Replies

programming lisp in ACADE - (WD_MDB2_UPD_PRJ_IXLST)

   - Set or update the value of variable GBL_wd_prj_ixlst

 

But how do I update, replace a list and than run the command ? Does somebody have an example ?

Update from MDB 2 project List, looks like I have to edit the data base and than run this command to update the project ?

 

And :

   - (nth 4 GBL_wd_prj_ixlst) = list of DWGNAM values (the %D value)

this one is always empty, ok I can get it from nth2 :

   - (nth 2 GBL_wd_prj_ixlst) = list of full drawing name and paths

when i remove the path and extention.

But is this (nth 4) not the name of the DWG ?

 

 

2 REPLIES 2
Message 2 of 3
Wheelie22
in reply to: Wheelie22

How can I update the drawing names ? When I update the list it does not update the Project Manager : (setq GBL_WD_PRJ_IXLST (list PART0 PART1 PART2 PART3 N-PART4 PART5 PART6 PART7 PART8 PART9 PART10 PART11 PART12 PART13 PART14 PART10 PART11 PART12 PART13 PART14 PART15 PART16 PART17 ) ) (WD_MDB2_UPD_PRJ_IXLST) (alert "update project file") How can I do this ? is there an example lisp ?
Message 3 of 3
Wheelie22
in reply to: Wheelie22

My mistake Smiley Tongue

I have to edit the WD_M file to change the SHEET and SHEETDWGNAME attributes and then use the C:WD_TB_PROCESS_ONE command to update them.

To finish it refresh the PM manualy, because there is no lisp command for that.

For now this only works on the active drawing, so I have to open all drawings in the project (or sub folder in the PM) to make the changes.

 

Tags (1)

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

Post to forums  

Autodesk Design & Make Report

”Boost