|
Sorry to resurect an old thread.... i think this LISP is close to what i am after, but i need to assistance in modifying the script.
i need to copy and paste attributes within the same block. its the Revision part of a title block. this is part of 100+ visible and invisible attributes in 1 block called titleblock, i can not modify only fill in, as its a client's block. i have approx 2000 drawings i need revise up. in the layout below is how the attributes are set out. the latest/newest revision always being filled in in REV1 row, and all previous ones being copied or retyped in one row up.
i have part of a script/method that can open, fill in the specific REV1 row from a CSV file, save, close and repeat for the next drawing. but i just cant get it to copy the rows up. the block name is always the same "tittleblock" and all the revision boxes are called
REV12 REVDATE12 REVDRAW12 REVNOTE12 REVENG12 REVAPPRO12
REV11 REVDATE11 REVDRAW11 REVNOTE11 REVENG11 REVAPPRO11
REV10 REVDATE10 REVDRAW10 REVNOTE10 REVENG10 REVAPPRO10
REV9 REVDATE9 REVDRAW9 REVNOTE9 REVENG9 REVAPPRO9
REV8 REVDATE8 REVDRAW8 REVNOTE8 REVENG8 REVAPPRO8
REV7 REVDATE7 REVDRAW7 REVNOTE7 REVENG7 REVAPPRO7
REV6 REVDATE6 REVDRAW6 REVNOTE6 REVENG6 REVAPPRO6
REV5 REVDATE5 REVDRAW5 REVNOTE5 REVENG5 REVAPPRO5
REV4 REVDATE4 REVDRAW4 REVNOTE4 REVENG4 REVAPPRO4
REV3 REVDATE3 REVDRAW3 REVNOTE3 REVENG3 REVAPPRO3
REV2 REVDATE2 REVDRAW2 REVNOTE2 REVENG2 REVAPPRO2
REV1 REVDATE1 REVDRAW1 REVNOTE1 REVENG1 REVAPPRO1
What would be good is if it could copy row 11 and paste in row 12, copy row 10 and paste in row 11 and so on regardless if the attribute is empty or not, then delete the contents on row 1. that would get round all issues