Results 1 to 8 of 8

Thread: Adding Filters in both V/G Overrides AND in ViewTemplate

  1.    #1
    Junior Member
    Join Date
    February 11, 2019
    Posts
    6
    Current Local Time
    10:53 PM

    Question Adding Filters in both V/G Overrides AND in ViewTemplate

    Hi All,

    I'm working on a new workflow, which will require a number of different filters on each view. Is there a way to have both ViewTemplate based filters, and also view-specific filters?

    So far, I've seen that if a ViewTemplate is set, the option for adding view-specific filters is greyed out. Does anyone know a way around this?

    Thanks in advance!

  2.    #2
    Moderator DaveP's Avatar
    Join Date
    January 10, 2011
    Location
    St Paul, MN
    Posts
    2,898
    Current Local Time
    03:53 PM
    Nope.
    You can uncheck Filtering in your View Template, but then it is ONLY controlled by the individual View Overrides.
    Once you use a parameter in a View Template it is ONLY controlled by the VT.

  3.    #3
    Junior Member
    Join Date
    February 11, 2019
    Posts
    6
    Current Local Time
    10:53 PM
    Thanks for your input Dave,

    I feared that would be the pro's answer.

    Thanks again!

  4.    #4
    Member pivoarch's Avatar
    Join Date
    March 16, 2011
    Location
    Princeton, NJ
    Posts
    285
    Current Local Time
    04:53 PM
    If you could describe what you are trying to achieve with filters in your different views we might be able to help you develop a process that works without all the gymnastics.

  5.    #5
    Junior Member
    Join Date
    February 11, 2019
    Posts
    6
    Current Local Time
    10:53 PM
    I'm doing some fairly advanced view creation using dynamo.
    Basically, I need a set of section views for each wall in the building, and each view in the set needs to show a different layer, have different category overrides, etc.

    I have a set of view templates which I'm automatically assigning to each new view, and I'm using filters in some of them (to show/hide parts of the wall based on material).
    I also have a unique filter that is generated for each wall, with a "Wall ID" shared parameter I have created.
    This is used to only show the relevant elements in each view. For example - a light switch with a Wall ID value of 005, will only be displayed in a view with the filter showing elements with the value 005 in their Wall ID field.

    What I would like to have is a view template, with all the relevant filters, overrides, and other settings, and also to add an individual, per-view filter of the Wall ID parameter.

    Sorry for the wall of text, hope I made some sense in my explanation.

    Thanks!

  6.    #6
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    9,912
    Current Local Time
    03:53 PM
    Technically, yes.

    1. Use Dynamo to create the view, applying the default View Template.
    2. Have Dynamo then unapply the view template (use Passthrough to make sure it happens after)
    3. Have Dynamo then add the required Filter in (use Passthrough to make sure it happens after)

    But the View Template will have no connection to the views once you are done.

  7.    #7
    Junior Member
    Join Date
    February 11, 2019
    Posts
    6
    Current Local Time
    10:53 PM
    Hi Aaron,

    I tried to go that way but found that I need to keep control of the View Templates and not lose their influence..

    For now, my solution is setting all the filters using Dynamo, both the independent, per-wall filter and the filters that should be part of the View Templates.
    Thanks for your input everyone, I think I'll stop pursuing this direction as it appears to be a dead-end.

    Thank you!

  8.    #8
    Mr. Revit OpEd
    Join Date
    December 14, 2010
    Posts
    2,832
    Current Local Time
    01:53 PM
    Assign a View Template afterward that does not Include Filters but everything else. Use Dynamo to assign the Filters, update them as required ongoing.

Similar Threads

  1. Replies: 17
    Last Post: June 19th, 2017, 06:12 PM
  2. Replies: 6
    Last Post: June 29th, 2016, 07:33 PM
  3. Extract just one viewtemplate from a project.
    By JelmerEekman in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: June 22nd, 2016, 04:50 PM
  4. Filters of VG overrides
    By domsib in forum MEP - General
    Replies: 4
    Last Post: July 11th, 2013, 01:03 AM
  5. 3D dwf with phases overrides
    By redmonki in forum Architecture and General Revit Questions
    Replies: 0
    Last Post: March 14th, 2012, 09:14 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
  •