Results 1 to 6 of 6

Thread: Using Attribute values to control Dynamic Block actions

  1. #1
    100 Club
    Join Date
    2007-06
    Posts
    104
    Login to Give a bone
    0

    Default Using Attribute values to control Dynamic Block actions

    Been looking over past threads on the subject of extracting info from attributes in DB's but havent found what Im looking for. Is it possible to extract info from an attribute and apply it to a Dynamic action? For instance....A roof slope indicator triangle with attributes for RISE and RUN that will stretch the triangle to the user specified RISE and RUN.

    Everything I can find on this subject has the extraction going in the other direction.

    Thanks,
    Brent

  2. #2
    Retired Forum Staff Chris.N's Avatar
    Join Date
    2001-12
    Location
    Rochester, MN
    Posts
    2,561
    Login to Give a bone
    0

    Default Re: Using Attribute values to control Dynamic Block actions

    Quote Originally Posted by bshank.140587
    Been looking over past threads on the subject of extracting info from attributes in DB's but havent found what Im looking for. Is it possible to extract info from an attribute and apply it to a Dynamic action? For instance....A roof slope indicator triangle with attributes for RISE and RUN that will stretch the triangle to the user specified RISE and RUN.

    Everything I can find on this subject has the extraction going in the other direction.

    Thanks,
    Brent
    did you happen to miss THIS one?

    Sometimes, i get lost in my own thoughts and need to ask directions to find my way back.
    S&D DB Sharing Forum

  3. #3
    100 Club
    Join Date
    2007-06
    Posts
    104
    Login to Give a bone
    0

    Default Re: Using Attribute values to control Dynamic Block actions

    Nope, actually saw that one. That one works fine but it is still opposite of what Im looking to do. With that block you have to manipulate the triangle and then it updates the attribute. What Im looking to do is manipulate the attribute and update the triangle. In other words, you would textedit or attedit the block, input your rise and run into the dialog box, and then the DB would take over and stretch the triangle accordingly. Is it possible to have attribute values inputed into DB actions?

    I know its kinda anal to want it the other way when this way works fine but Im looking down the road at applications other than a simple slope indicator if it can be done.

  4. #4
    Retired Forum Staff Chris.N's Avatar
    Join Date
    2001-12
    Location
    Rochester, MN
    Posts
    2,561
    Login to Give a bone
    0

    Default Re: Using Attribute values to control Dynamic Block actions

    Quote Originally Posted by bshank.140587
    Nope, actually saw that one. That one works fine but it is still opposite of what Im looking to do. With that block you have to manipulate the triangle and then it updates the attribute. What Im looking to do is manipulate the attribute and update the triangle. In other words, you would textedit or attedit the block, input your rise and run into the dialog box, and then the DB would take over and stretch the triangle accordingly. Is it possible to have attribute values inputed into DB actions?

    I know its kinda anal to want it the other way when this way works fine but Im looking down the road at applications other than a simple slope indicator if it can be done.
    as far as i know, not without programming... only thing close is lookups, and i don't know how you can use random user input values to access a function like that. may i ask what's wrong w/ using a pulldown list? or is your goal to eliminate the limitations of such a list....
    Sometimes, i get lost in my own thoughts and need to ask directions to find my way back.
    S&D DB Sharing Forum

  5. #5
    AUGI Addict Mr Cory's Avatar
    Join Date
    2007-01
    Location
    Under a Rock over there
    Posts
    1,006
    Login to Give a bone
    0

    Default Re: Using Attribute values to control Dynamic Block actions

    Yeah i'd say it is, this could be handy if you could but the input would have to be in specific format for it to be recognised wouldnt it?

  6. #6
    100 Club
    Join Date
    2007-06
    Posts
    104
    Login to Give a bone
    0

    Default Re: Using Attribute values to control Dynamic Block actions

    Quote Originally Posted by Chris.N
    or is your goal to eliminate the limitations of such a list....
    Yes, the goal would be to have any value be legal. Take the slope indicator for instance.....standard roof slopes are x/12 but handicapped access ramps are 1/20. And perhaps you would be dealing with an existing site ramp that was built to 2.25/24. The idea Im going after is to not be confined to a pull down list or not have to have a list so long that it doesnt fit on screen, lol.

    Im also looking down the road at other possible applications if it will work. Mostly simple shapes that would/could be different sizes for different projects. One example would be fitting out an electrical closet with panels. We (as most people do I assume) draw everything in our buildings to scale to verify there are no interferences. Rather than have a vis state or a stretch list for each size panel, which would have to be constantly updated as manufacturers change sizes, I just thought it would be much easier to have one block that can be controlled by user input.

    I just started digging into the DB's a few weeks ago so Im still a newbie to this whole deal. Even with the very little knowledge Ive gathered so far I think Ive already cut our block library in half. Just lookin to push the envelope a bit.

Similar Threads

  1. How to change dynamic block attribute default values based on block selected?
    By zeirz109180 in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2013-12-13, 02:20 PM
  2. Dynamic Block Attribute Control Issue
    By CAD-MAN II in forum Dynamic Blocks - Technical
    Replies: 4
    Last Post: 2011-05-19, 07:56 PM
  3. Attributes to Control Dynamic Block Actions
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2007-05-08, 12:34 PM
  4. Help with applying multiple Actions to a Dynamic Block
    By james.126519 in forum Dynamic Blocks - Technical
    Replies: 22
    Last Post: 2006-11-14, 09:07 PM
  5. Chaining rotate actions in a dynamic block
    By cross in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2005-09-23, 08:10 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
  •