Jump to content

Lisp or Script to populate next Revision attributes in Title Block


Billy Ray

Recommended Posts

You're a saint! Thank you sir I really appreciate all of your help. I'll put the code below again in case anyone needs it in the future. Now I have three batch files (with relative script and lisp routines thanks to you) that users can pick from relative to the Revision Description. All one has to do here now is double click and watch it go! Utilizing this with field insertions, etc. all Title Block Data will be auto generated and any simple CAD user can use it. You're the man!

 

 

well I'm a dragon but you're forgiven hahaha

 

 

but you're welcome. Wish my titleblocks were so easy...

 

 

 

:beer:

Link to comment
Share on other sites

  • Replies 22
  • Created
  • Last Reply

Top Posters In This Topic

  • Billy Ray

    14

  • rlx

    7

  • BIGAL

    2

  • SLW210

    1

Top Posters In This Topic

well I'm a dragon but you're forgiven hahaha

 

 

but you're welcome. Wish my titleblocks were so easy...

 

 

 

:beer:

 

It's taken a long to to get here with Data Links, Layers, Title Blocks and file naming conventions. But everyone puts it on 0,0 and the file naming is structured so it makes Custom Field Insertions or Diesel Expressions easier. Doubtful, but let me know if I can ever be of any help.

Link to comment
Share on other sites

Glad Rlx helped just thought I would add a bit more detail the idea of using the attribute position rather than tags, is that you only need to know which pattern to look for in your case the 1st few are single descriptions so we will leave them alone, the atts like REVX are a pattern as you mentioned and re-occur at set intervals.

 

 

The idea as you have already mentioned is that you need more than one routine so each routine just changes certain attributes by their position order.

 

 

When you go past 6 you would re-arrange the 1st five 2 goes 1 3 goes 2 then add new 5th.

 

 

The main reason for suggesting was that I do not need to know your tag names but can change the attributes. I have used it a few times so have the hang of it. Its a more global approach so some one else could use the code also without having to change all the attribute tag names, yes you do have to change the attribute number though.

 

 

eg RLX uses tags I would use '( 15 16 17 18)

 

 

If I find some time will do an example using your drawing.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...