Jump to content

Steal by Lee Mac (Update block definitions)


3dwannab

Recommended Posts

I was wondering if there's something like LeeMacs program to steal from another drawing, only redefine the blocks.

 

Currently, this code can import the blocks into the drawing but it doesn't update the definitions.

 

(if (not steal) (load "StealV1-8"))

(Steal 
  "O:\\ACAD Blocks, Templates\\2022 Sheet Templates\\CSP_Sheet Templates.dwg"
  '(("Blocks" 
      ("AN_CSP A1 Landscape 2022" "AN_CSP A2 Landscape 2022")
    )
    ("Dimension Styles" 
      ("ANNO*")
    )
   )
)

 

Edited by 3dwannab
Link to comment
Share on other sites

@Steven P, the blocks are nested inside a drawing. I have a script to uploaded from dwg but not this. I was hoping if this steal program had this functionality. 

 

Link to comment
Share on other sites

You may have do as a multi step say steal into a blank dwg wblock out, the insert into correct dwg, Maybe just open other dwg select block and use Ctrl+c, then paste into original dwg.

 

If you need to do this a lot wblock out all the blocks into separate dwg's.

Edited by BIGAL
Link to comment
Share on other sites

I think that's the route I will have to go down.

 

Ctrl+C and Ctrl+V doesn't redefine a block unless I'm missing something?

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