Jump to content

Insert successive numbers in succesive dwgs(Inserting page no to multiple dwgs)


sanjith

Recommended Posts

hii..am a vry beginner in scripting & in lisp...

at present i am using scriptpro to edit text in multiple dwgs...

what i require is a lisp which helps me to edit the present "page number"(in text format) & put a new page number to a large number of drawings.(i.e in each successive dwg,i need to put the successive page number)

Pls help..or else i ll have to open & edit each dwg one by one...

 

regards,

sanjith

Link to comment
Share on other sites

You could store the number in the registry (getenv/setenv) and retrieve and add from there. Do you know how to select the object to edit?

 

AutoScript/ScriptPro will help you batch edit drawings.

Link to comment
Share on other sites

Is the present "page number" a attribute in a title block ? that can be changed pretty easy. If its text I would make it a block as it makes it a bit more unique so only find 1 instance.

 

You would though need some way of determining the order the page numbers are to go in, a dwg list ? do the dwgs also have multiple layouts = multi pages?

 

Have you searched the posts here and maybe Augi, Afralisp it sounds like something that some one has possibly done before.

 

Some more information would be helpfull.

 

Also use excel to write your script maybe its good for number stuff proj2001-001 proj2001-002

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...