Results 1 to 4 of 4

Thread: Batch block editor

  1. #1
    Member
    Join Date
    2017-03
    Posts
    3
    Login to Give a bone
    0

    Default Batch block editor

    Hi,

    I'm looking for lsp for several things, some are existing I'm sure.

    - Move a block attribute in several drawing
    - Updating a block without to have to delete it, purge and reinsert (in several drawing would be perfect)
    - a lisp to publish (the fonction doesnt work so well)


    Thank you
    Last edited by Ildan13; 2017-03-10 at 05:51 PM.

  2. #2
    All AUGI, all the time
    Join Date
    2010-06
    Posts
    962
    Login to Give a bone
    0

    Default Re: Batch block editor

    Hi,

    Must in need of too much codes to get the job done although your explanation of the three points are not clear at least to me.

  3. #3
    Member
    Join Date
    2017-03
    Posts
    3
    Login to Give a bone
    0

    Default Re: Batch block editor

    Hi,

    Thanks for the reply

    Actually these are different lisp.

    1/ I have a block where i have to put initials (2 letters), but some people want 3 or 4 so I would like to move the attibute in the block in batch (hundred of drawing involved..).

    2/ Let say you have a block in 2 drawings, you change it in one of the drawing and want the same in the other. I have to burst the old one, then purge to be able to paste the new block. Then I have to copy paste all the bursted attribute..

    I hope its clearer

    Thank you

  4. #4
    I could stop if I wanted to
    Join Date
    2001-10
    Location
    Defragging the internets.
    Posts
    350
    Login to Give a bone
    0

    Default Re: Batch block editor

    If it was me I would wblock the block to a file, make changes to the file, redefine the block using the insert command and use attsync to fix the new attribute definitions.

    To redefine the block use something like this:
    (command "-insert" "Block_name=Block_name.dwg" (command) )
    I would put the block in the same folder as the files you are fixing so you wouldn't need the path to the new block location.

    To update the attribute use something like this:
    (command "attsync" "n" "Block_name" )

Similar Threads

  1. 2011: Block Editor vs Enhanced Attribute Editor
    By jf1725 in forum AutoCAD General
    Replies: 5
    Last Post: 2014-05-13, 06:13 PM
  2. Replies: 1
    Last Post: 2013-12-01, 01:20 PM
  3. Block geometry is visible until block editor is opened.
    By 3ddraft in forum AutoCAD General
    Replies: 1
    Last Post: 2010-04-26, 11:47 AM
  4. Highlight Last Opened Block in Block Editor Block List
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2008-10-11, 09:03 PM
  5. Block Editor moved Block from Modelspace to Paperspace
    By knelson.85305 in forum Dynamic Blocks - Technical
    Replies: 4
    Last Post: 2006-11-16, 05:00 AM

Posting Permissions

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