Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: LISP NEEDED - Copy attribute and paste as single line text

  1. #11
    Member
    Join Date
    2012-05
    Location
    Planet Earth
    Posts
    10
    Login to Give a bone
    0

    Default Re: LISP NEEDED - Copy attribute and paste as single line text

    Quote Originally Posted by pbejse View Post
    To be on the clear, you are wanting to select a specific attribute in a block with as "crossing window" but not necessarily ALL the attdefs on that block?
    Let's say 'all visible ones which have values'. In other word, I am not interested in invisible and blank attributes.

  2. #12
    Woo! Hoo! my 1st post
    Join Date
    2019-01
    Posts
    1
    Login to Give a bone
    0

    Default Re: LISP NEEDED - Copy attribute and paste as single line text

    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

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 2012-01-19, 05:59 PM
  2. Replies: 0
    Last Post: 2011-09-23, 07:21 PM
  3. 2011: LISP, script or action recorder to copy-and-paste text into attributes?
    By simon.bannister in forum AutoCAD General
    Replies: 3
    Last Post: 2011-03-23, 11:55 AM
  4. turn single line of attribute text into two lines
    By JRBOURNE in forum Dynamic Blocks - Technical
    Replies: 4
    Last Post: 2009-12-23, 04:40 PM
  5. AutoCAPS for Single Line and Attribute Text
    By IanR in forum AutoCAD Wish List
    Replies: 3
    Last Post: 2007-11-09, 06:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •