Results 1 to 7 of 7

Thread: Selection visibility

  1. #1
    Member
    Join Date
    2008-07
    Posts
    4
    Login to Give a bone
    0

    Default Selection visibility

    Hi all.
    I've been searching all my documentation on API, Autodesk online stuff, this forum and many others, but without any answer...

    The VIEW class has among his properties setVisibility, which is good to display or hide an entire category from the view, but I wonder if it's possible to display/hide a generic selection of elements in a view.

    Any idea? Thank to all!

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

    Default Re: Selection visibility

    This is not possible with the .NET API currently.

    Cheers,

    Guy

  3. #3
    Member
    Join Date
    2008-07
    Posts
    4
    Login to Give a bone
    0

    Default Re: Selection visibility

    Thanks Guy! I supposed it was so and here's the confirmation
    So I can hide an entire category or sub-category but not, for example, all the instances of some family types... this would be usefull for hiding some section lines in a view!

    I know Revit API has been improved since his first appearance, but there are still some important lacks like this...

    Cheers

    Max
    Last edited by maxb77; 2008-07-21 at 10:49 AM.

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

    Default Re: Selection visibility

    Sure the API has a long way to go. BTW, maybe I was too subtle in my reply. You can do it you just need to know your way around the win32API .

    Cheers,

    Guy

  5. #5
    Member
    Join Date
    2008-07
    Posts
    4
    Login to Give a bone
    0

    Default Re: Selection visibility

    I've been studying Revit programming in the last month, and so far from being an expert, but before your reply I was quite sure that any action inside Revit had to be controlled by RevitAPI.

    As I said, my purpose is hiding from the current view some elements in a category which match a condition, for example family type name. This must be done in all the views in all design sheets (I think that I have to use an iterator to get the views).
    So all these action are perfomed inside Revit, how can I use Win32 API?

    Obviously I don't ask for a complete step by step tutorial, but only for some main ideas to understand this way.

    Thanks!

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

    Default Re: Selection visibility

    ah, that's quite a different problem working on all views rather than just the active view. So unfortunately that can't be done. You could try the journal but it'd be a big task. And even if you could do it via the API I can tell you from experience performance would be horrible.

    Cheers,

    Guy

  7. #7
    Member
    Join Date
    2008-07
    Posts
    4
    Login to Give a bone
    0

    Default Re: Selection visibility

    Thank you for your support! I'm learning a lot from this forum: Revit programming seems to be a kind of taboo in Italy...

    Bye!

Similar Threads

  1. 2014: Attibute Visibility through bulk selection
    By mac.baker691262 in forum AutoCAD General
    Replies: 1
    Last Post: 2015-02-19, 01:54 PM
  2. Clearance, Coverage, exc... Visibility & selection issues?
    By Karlfucious in forum Revit MEP - Families
    Replies: 0
    Last Post: 2011-07-26, 03:15 PM
  3. Visibility issue with parameter selection
    By bulletproofdesign in forum Revit Architecture - Families
    Replies: 1
    Last Post: 2010-11-02, 11:45 PM
  4. Visibility State selection upon insert of block?
    By Mamma Jamma in forum Dynamic Blocks - Technical
    Replies: 5
    Last Post: 2010-09-01, 11:41 AM
  5. Visibility of subcategories and selection
    By DoTheBIM in forum Revit Architecture - General
    Replies: 1
    Last Post: 2007-07-10, 07:41 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
  •