Jump to content

Recommended Posts

Posted

Hello,

 

I am looking for a .lsp that will allow me to insert a titleblock of a different size and run a command on the existing titleblock and click on the new titleblock and it will retain all the same information (even with text fields) and copy over the information into the new titleblock without having to fill out the new titleblock.

 

Our titleblocks use mostly fields but the project name, address, drawing number and drawing name have just regular attribute text objects. This would be a huge time saver if I have to take something that was originally on a 22x34 titleblock and resize the viewport and insert a new 8-1/2x11 titleblock quickly without having to re-enter all of the information.

 

This would be a tremendous time saver! Thank you in advance :)

Posted

It is not that hard you can use ssget with a W window, WP within polygon CP crossing polygon etc and get just one object at a time, you will have to repeat for every window pick.

 

(setq ss1 (ssget "W" pt1 pt2 '((0 . "*text"))))

(setq tans (vla-get-textstring (vlax-ename->vla-object (ssname SS1 0 ))))
or
(setq tans (cdr (assoc 1 (entget (ssname ss1 0)))))

(setq ss1 nil)

Posted

This will be good if someone will create a lisp for this.

currently I'm using Leemac's CopyField

Posted

Like Maratovich a sample with the two titles would be best the 2 filled in so can see where stuff goes.

Posted

Apparently there is already an express tool for this. Express Tools > Blocks > Replace Block with another block. Then just run ATTSYNC on the new titleblock.

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