+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Junior Member
    Using
    AutoCAD 2012
    Join Date
    Apr 2012
    Posts
    10

    Default Problems with a dynamic block

    Registered forum members do not see this ad.

    Hi all

    I have created a dynamic block of our companies Stage section. The block is set up as a rectangular array using XY parameters.

    The block itself works fine however I created block attributes in the block dwg to display its measurements using the Distance x and Distance y totals.

    When inserting the block into a new drawing I need to explode the block in order for the array to work, however this also means that the text is no longer locked to the block. is there a way around this?

    Kind regards

    Michael.

  2. #2
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,125

    Default

    difficult to say without examining the block. "Go Advanced" and attach it to a post.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  3. #3
    Junior Member
    Using
    AutoCAD 2012
    Join Date
    Apr 2012
    Posts
    10

    Default Dynamic Block issues

    I have created a dynamic block of our companies Stage section. The block is set up as a rectangular array using XY parameters.

    The block itself works fine however I created block attributes in the block dwg to display its measurements using the Distance x and Distance y totals.

    When inserting the block into a new drawing I need to explode the block in order for the array to work, however this also means that the text is no longer locked to the block. is there a way around this?

    I placed this post in the general and was asked to post the dwg. So here it is
    Stage with dimentions AV.dwg

  4. #4
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,125

    Default

    The reason you need to explode your block is because you have burried the dynamic block within the text block thus making it unaccessible. Unfortunately putting the fields in the dynamic block doesn't work as the distance parameters are only available at block construction time, not at block insertion time so you are again trapped.

    There are wor-rounds to this problem (search for repeated attributes and you might find them) but I have always found them to be too complicated to be viable.

    There may be a way to achieve what you want but it is not obvious.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  5. #5
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,125

    Default

    and I have just had another quick look and I think you have too many blocks within blocks. There is no need to make a block out of the stage polyline that I can see.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  6. #6
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,125

    Default

    It has taken me some time to remember how to do this but try this...

    AV Stagev3.dwg

    I have changed the MText fields into attributes which exposes the distances. You need to REGEN the drawing once you have stretched it and YOU MUST NOT delete the data in the attribute field.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  7. #7
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,203

    Default

    There was no need to create a new thread. I have merged your threads.
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



  8. #8
    Junior Member
    Using
    AutoCAD 2012
    Join Date
    Apr 2012
    Posts
    10

    Default great work on the fix

    Registered forum members do not see this ad.

    Thank you for the fix,
    I was wondering in the AVstagev3 dwg you have made the block more a polyline, i figure this is to get around the need to explode the block on insertion. Great Idea.

    The having to Regen the drawing it see the values in the attributes was something else I wondered if it was possible to have the values regenerate as they are being moved along the xy coordinates.? This feature I think is a more of a would like to have if possible.

    Once again thank you for your help.

    Quote Originally Posted by dbroada View Post
    It has taken me some time to remember how to do this but try this...

    Attachment 34515

    I have changed the MText fields into attributes which exposes the distances. You need to REGEN the drawing once you have stretched it and YOU MUST NOT delete the data in the attribute field.

Similar Threads

  1. Insert dynamic block from file with multiple dynamic blocks
    By BUrBaKy in forum AutoCAD Drawing Management & Output
    Replies: 17
    Last Post: 14th Nov 2012, 11:38 pm
  2. Dynamic Block Problems
    By T_Shadle in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 5th Feb 2010, 09:46 pm
  3. multiple dynamic constraints in a dynamic block
    By Huibert in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 16th Jul 2009, 11:13 am
  4. Replies: 5
    Last Post: 26th Jun 2009, 04:50 pm
  5. Dynamic Block Problems
    By A1DWG in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 8th Apr 2009, 12:22 pm

Bookmarks

Posting Permissions

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