Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Does visibility just not work for attribtes?

  1. #1
    I could stop if I wanted to ekubaskie's Avatar
    Join Date
    2001-12
    Location
    Anchorage, Alaska
    Posts
    324
    Login to Give a bone
    0

    Default Does visibility just not work for attribtes?

    My DB should be pretty simple. I just want two visibility states that determine whether the single attribute in the block is displayed.

    In Block Editor, I can switch states and the attribute def flips on & off. But changing the state in an actual block insertion does nothing - the attribute shows in both states in all existing and new insertions.

    What am I missing?
    Attached Files Attached Files

  2. #2
    All AUGI, all the time
    Join Date
    2016-02
    Location
    Sydney, Australia
    Posts
    512
    Login to Give a bone
    0

    Cool Re: Does visibility just not work for attribtes?

    Try nesting the attribute as a block. Does the attached give the solution you seek?
    Attached Files Attached Files

  3. #3
    I could stop if I wanted to ekubaskie's Avatar
    Join Date
    2001-12
    Location
    Anchorage, Alaska
    Posts
    324
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    Quote Originally Posted by Norton_cad View Post
    Try nesting the attribute as a block. Does the attached give the solution you seek?
    It does make the attribute turn on/off, but when you do a new insertion, you aren't prompted for the attribute value.

    Also you can't automatically set the attribute value from data if you're importing the points (from an ESRI shape file in this case).

  4. #4
    All AUGI, all the time
    Join Date
    2016-02
    Location
    Sydney, Australia
    Posts
    512
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    Well I'm a bit confused about your ESR thingy, but I supose if you want automatic insertion point X/Y/Z added to the attribute, you could write a script/lisp. Also, I know you can also write incremental attribute values, or fomula too.

    I know it is a two step process, to get around the limitations of attributes in Dynamic blocks, but "the world ain't perfect", as the saying goes.

    Have you considered using plain text, with feilds. Plain text dosn't have the visability issue that attributes have?

  5. #5
    I could stop if I wanted to ekubaskie's Avatar
    Join Date
    2001-12
    Location
    Anchorage, Alaska
    Posts
    324
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    Quote Originally Posted by Norton_cad View Post
    Well I'm a bit confused about your ESR thingy, but I supose if you want automatic insertion point X/Y/Z added to the attribute, you could write a script/lisp. Also, I know you can also write incremental attribute values, or fomula too.

    I know it is a two step process, to get around the limitations of attributes in Dynamic blocks, but "the world ain't perfect", as the saying goes.

    Have you considered using plain text, with feilds. Plain text dosn't have the visability issue that attributes have?
    The points are imported from GIS data files via Map 3D's import function. It reads the ESRI (ArcMap) shapefile directly, importing & attaching GIS data as object data in the process. It also (optionally) fills in block attributes if the attribute's tag matches the GIS datafield name.

  6. #6
    All AUGI, all the time
    Join Date
    2016-02
    Location
    Sydney, Australia
    Posts
    512
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    So it won't work for nested blocks, in the GIS because the script/lisp can't select the attribute?

    If thats correct then the script could be forced to edit the nested attibute, by adding the hyphon "-" before the edit command. This punches through any nesting. I've used it many times with groups as well.

    Another alternative would be not to have a visability state at all (ie not a dynamic block), and if you want the attribute to dissapear change it's property to Invisible, and let the ATTDISP system variable control the visability. Of course this will effect all attributes in a drawing. Have a look at the attached. Is this what you want?
    Attached Files Attached Files

  7. #7
    I could stop if I wanted to ekubaskie's Avatar
    Join Date
    2001-12
    Location
    Anchorage, Alaska
    Posts
    324
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    What I'm really looking for is visibility that works as advertised. Giving us visibility states as a feature of blocks is quite cool, but the level of usefulness for the feature goes WAY down when it doesn't work with one of the most common objects found in blocks. In fact, an object meant only to be USED in blocks.

    I want to be able to select, block by block, whether to show the ID label of the well symbol. Mixed in with other types of wells, there are some areas where the symbols are packed too densely to show IDs, while other areas are sparsely populated and there's plenty of room. Or sometimes I'll want to show the ID on proposed wells, and leave off the existing.

  8. #8
    100 Club
    Join Date
    2006-11
    Location
    Martinsburg, WV USA
    Posts
    199
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    Quote Originally Posted by ekubaskie View Post
    My DB should be pretty simple. I just want two visibility states that determine whether the single attribute in the block is displayed.

    In Block Editor, I can switch states and the attribute def flips on & off. But changing the state in an actual block insertion does nothing - the attribute shows in both states in all existing and new insertions.

    What am I missing?
    I am not sure what was going on, but I just put a new attribute in there and it works fine?
    Attached Files Attached Files

  9. #9
    I could stop if I wanted to ekubaskie's Avatar
    Join Date
    2001-12
    Location
    Anchorage, Alaska
    Posts
    324
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    Quote Originally Posted by james.126519 View Post
    I am not sure what was going on, but I just put a new attribute in there and it works fine?
    Holy BATTMAN, James!

    I think you've got it.

    It appears that you cannot add visibilty effects to block attributes that already exist in your drawing. ( I was trying to add the ability to an existing block definition.)

    ...

    OK, I just tried it out in a fresh drawing. I created the block first, and then did the shapefile import. All the points came in with IDs, but the visibility thing still didn't work until after I synched the blocks with BATTMAN.

    So it looks like you have to do both - define visibility states on NEW attributes, not existing ones - and sync them afterwards.

    And the visibility states work fine right off with blocks INSERTed manually - it's just the auto-created blocks that need the extra step with BATTMAN.

  10. #10
    All AUGI, all the time
    Join Date
    2016-02
    Location
    Sydney, Australia
    Posts
    512
    Login to Give a bone
    0

    Default Re: Does visibility just not work for attribtes?

    Holy underpants! BATTMAN saves the day. Horray!

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 2011-12-09, 09:57 PM
  2. Replies: 0
    Last Post: 2011-12-09, 09:55 PM
  3. Getting Visibility States to work in a Single door Dynamic Block
    By KGC in forum Dynamic Blocks - Technical
    Replies: 3
    Last Post: 2007-01-02, 03:40 PM
  4. Aligning Work Planes to Model (was "Work Plane Visibility" in Wishlist)
    By funkman in forum Revit Architecture - Tips & Tricks
    Replies: 1
    Last Post: 2004-07-16, 03:28 AM
  5. Work Plane Visibility
    By funkman in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2004-07-16, 03:28 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
  •