Results 1 to 3 of 3

Thread: How to identfy where an element is visible?

  1. #1
    Administrator richard.binning's Avatar
    Join Date
    2015-12
    Location
    In the foothills of the appalachians
    Posts
    2,261
    Login to Give a bone
    0

    Default How to identfy where an element is visible?

    Quick question: Is it possible to identify by sheet number where a building element is visible using the API?

    I am working on documenting the effect of change as it ripples through a design and would like to automate the "select element by id" method of finding an object and then clicking "show" to cycle through all the views.

    Is it possible using the current state of the api?...has anyone done it already?

    Thanks,

    Richard

  2. #2
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: How to identfy where an element is visible?

    You could do it this way.

    Get your element ID.
    Get all Sheets and consequently views on sheets.
    Check all applicable views for element with required ID.

    HTH,

    Guy

  3. #3
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    San Francisco, CA
    Posts
    448
    Login to Give a bone
    0

    Default Re: How to identfy where an element is visible?

    Using Guy's suggestion and taking it one step further, it would be much quicker in subsequent checks to save the view element IDs in each element as a hidden parameter. Then when you change something, you only need to grab the view IDs off that one element. This would save you from having to walk the entire element tree again. You would need a little routine to update the elements as you make changes to views however.

Similar Threads

  1. Replies: 1
    Last Post: 2010-07-15, 08:43 PM
  2. Element Selection not Visible with VG Modification
    By gdb in forum Revit Architecture - General
    Replies: 0
    Last Post: 2009-08-31, 03:42 PM
  3. Family element within group is not visible
    By erikd.194308 in forum Revit Architecture - General
    Replies: 2
    Last Post: 2008-09-12, 02:42 AM
  4. Structural Element may not be supported -- verify support for element
    By anthony.hoare in forum Revit Structure - General
    Replies: 0
    Last Post: 2007-06-27, 01:56 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
  •