Results 1 to 4 of 4

Thread: dynamic block to write automatically door width value and door type accordingly.

  1. #1
    Member
    Join Date
    2015-08
    Location
    Istanbul, Turkey
    Posts
    7
    Login to Give a bone
    0

    Default dynamic block to write automatically door width value and door type accordingly.

    Hi All,

    I would like to relate two other questions on the door of my previous thread http://forums.augi.com/showthread.ph...d-when-flipped

    1- I cannot manage to make autocad write down the door width parameter value on a door tag inside the block. In block editor I put an attribute, insert field to take distance value from parameter, but when i insert the block, I only get ### and it says "the object referenced by the field has been erased". (After block insertation, in "enhanced attribute editor" deleting ###s and inserting fields again it shows distance value)

    2- Furthermore, I also would like to make door type to change according to door width value when i play with the width grip, eg;
    if width parameter="80" then write "K1"
    if it=90 then write "K2"
    if it=100 then write "K3"
    etc...

    Any help will be highly appreciated
    Thx in advance
    Tolga
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    I could stop if I wanted to
    Join Date
    2007-06
    Location
    Flagstaff, AZ
    Posts
    264
    Login to Give a bone
    0

    Default Re: dynamic block to write automatically door width value and door type accordingly.

    I'm not sure what trouble you were having with the attribute. I have found that in order to change a field value that has 'gone wrong', it is often necessary to delete the old field and save the attribute, then open it back up and insert the new field. I did so on your block and it works fine. I used a BlockPlaceholder field referencing the width parameter. For the 'K' value I added a lookup which gives the K value for the various widths. I then inserted the K attribute which references the lookup with a blockplaceholder field. A regen is required to update the fields.

  3. #3
    Member
    Join Date
    2015-08
    Location
    Istanbul, Turkey
    Posts
    7
    Login to Give a bone
    0

    Default Re: dynamic block to write automatically door width value and door type accordingly.

    That solved my trouble. I need to do it on my own to understand it better though.

  4. #4
    I could stop if I wanted to
    Join Date
    2007-06
    Location
    Flagstaff, AZ
    Posts
    264
    Login to Give a bone
    0

    Default Re: dynamic block to write automatically door width value and door type accordingly.

    Let me know if you get stuck and need more info.

Similar Threads

  1. Dynamic Door Block
    By harilalmn in forum AutoCAD General
    Replies: 4
    Last Post: 2010-08-04, 04:21 PM
  2. Why is door width a type parameter?
    By lost again again in forum Revit Architecture - Families
    Replies: 22
    Last Post: 2010-02-18, 05:34 PM
  3. Dynamic Door block problem
    By beardking in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2010-02-09, 08:45 PM
  4. Dynamic Block door, update text automatically as door is changed
    By Matt Mercer in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2007-02-05, 01:41 PM
  5. Door tag to show door width?
    By Eric Stewart in forum Revit Architecture - Families
    Replies: 7
    Last Post: 2004-06-10, 05:22 PM

Posting Permissions

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