Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By Steve_Stafford

Thread: Family types not changing in Revit

  1. #1
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    03:38 AM

    Family types not changing in Revit

    Hi all,


    I have build a "Pipe Fitting" family.
    - Family has one type (I called it "TYPE CATALOG")
    - The different sizes needed the family extracts from a LookUp Table.
    - The family comes with an Type Catalog
    When load in project eveything goes wel, I can select a certain instance and change the type to another size.
    BUT
    When I have for example a 50mm pipe, with the corresponding 50mm fitting and I change the pipe to 75mm, then the fitting doesn't change to other Type, to match the 75mm.
    The fitting stays 50mm and stays connected to the pipe, I can change the type op the fitting manualy, but I want the Type change automaticly with the size change.


    Guess I have something wrong / forgot to do something with the parameter added to the connector in the family.

  2. #2
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,401
    Current Local Time
    04:38 AM
    A few things are needed for the fitting to change automatically with the pipe size;
    - The size of each connector must be an instance parameter not a type parameter. Some libraries, especially from manufacturers, make a type, or even a separate family, for each size..

    - The size of each connector must not be set by a formula. If it is linked to a formula or other parameters then it is not free to change. (Can still use the connector diameters to set other things)

    - Each connector on the fitting must have its own independent size parameter. This last one took me a long time to figure out because ALL of the standard fittings are made with the same parameter for multiple connectors, and that is why they dont work... If, for example, a bend uses the same size parameter for both ends and both ends are connected to pipes, then neither end can change freely because it is already linked to the pipe at the other end. Even if you select all the pipes, revit has to change them one at a time so it cannot.

    So it might sound crazy.. but if you want a pipe bend to work properly it has to be able to have different size connectors on either end.


    (Top is standard fittings, Bottom is fittings with independent sizes on each connector and a transition modelled in the fitting itself.)
    Attached Thumbnails Attached Thumbnails Family types not changing in Revit-2.gif   Family types not changing in Revit-1.gif  
    Last edited by josephpeel; September 20th, 2018 at 09:17 AM.

  3. #3
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    03:38 AM
    Now fitting changes with changing size, but not how I want it. Suppose I have pipe and fitting size 50 (fitting - FamType "fitting50") and change pipe size to 75, then fitting changes to 75 measurements, but fitting FamType still "fitting50" instead of "fitting75".


    Little more info about why I use Types instead of just lookuptable:

    First I built the family only with lookuptable and WITHOUT Type Catalog (I had one type, which changes by size change/lookuptable), but I rebuild it with a Type Catalog.
    This because I wanted to add parameter values for the different pipe sizes. Those values don't only consist of numbers, but also more than 1 parameter consists text, so it can't be done with Lookuptable.

    Is there no manner to let the FAMILYTYPE change (instead of the measures) to match the changing pipe size?

    Otherwise I have to go back to ONLY the lookuptable and fill the parameters with Dynamo, but if it can be done without Dynamo, then that has my preference, cause Dynamo can't run automaticly on startup in background. Revit user has to start Dynamo itself, and that is not what I want. I want to have the correct info in the parameters automaticly, so without the need of the revit user to do certain things for it to accomplish that.

  4. #4
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,401
    Current Local Time
    04:38 AM
    Hmm.. I think it is a bad idea to use a different type for every size, but there is a possible way you could do it.

    You can set the Routing Preferences for a pipe type to define what fittings will be used.
    It is possible to have multiple types of fittings and set a size range for each one.
    So if you have a Type for each size, you could add them all to routing preferences and set the max and min pipe sizes.
    But.. I have never tested if this always updates when you change the pipe size.
    Attached Thumbnails Attached Thumbnails Family types not changing in Revit-route.jpg  

  5. #5
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    03:38 AM
    I understand what you are saying... I dive into it further this weekend.

    I know there is a workaround to add ONE textvalue to a parameter (this can only be 1 value, the value has to be in de 1st column of the lookuptable).
    Do you know a manner/way to add more than one textvalue to parameters in the different sizes of the fitting (the sizes come from the lookuptable?

    I can't believe no one ever stuck to this problem, cause sometimes you need extra 'text' information stored in the parameters at different sizes for (for example: 'article number with text inside; ARTFIT014016, ARTFIT014020' or 'manufacturer; manufacturer1, manufacturer2') sometimes smaller size come from other manufacturer than bigger sizes.

  6. #6
    Mr. Revit OpEd
    Join Date
    December 14, 2010
    Posts
    2,876
    Current Local Time
    07:38 PM
    I might be mistaken but would not Fabrication Parts be what you might need? I get that impression because Revit's own approach to content is more generic, an abstraction of the notion of a fitting that's willing to be any size. With Fabrication Parts it is much more like taking something from the shelf of an inventory of parts, it is only "one thing" not "any thing".
    josephpeel likes this.

  7. #7
    Junior Member Bogey1977's Avatar
    Join Date
    July 12, 2018
    Location
    Nederland
    Posts
    29
    Current Local Time
    03:38 AM
    I got some lost 10 minutes... so went on Google.
    Fabrication Parts is new for me , but might be what I need.

    Quick question before I dive into this subject.
    Can I store information (article number, description, other stuff) of pipe fittings dependent on pipe size and familyname? somewhere in a fabrication list and extract that information and schudule it.
    This information can as well be numbers as well as text?

Similar Threads

  1. Nested Family Location Shifting When Changing Types
    By cellophane in forum Architecture - Family Creation
    Replies: 3
    Last Post: December 11th, 2015, 07:18 PM
  2. changing sink types from architecturtal to MEP
    By fifthtexas in forum MEP - General
    Replies: 3
    Last Post: February 4th, 2015, 03:15 PM
  3. Revit OpEd: Changing Column Types and Copy Monitor
    By Revit OpEd in forum Blog Feeds
    Replies: 0
    Last Post: December 5th, 2014, 06:15 PM
  4. Revit 2013 is not de-selecting walls when changing types.
    By jcoe in forum Architecture and General Revit Questions
    Replies: 0
    Last Post: June 14th, 2013, 01:15 PM
  5. Create Similar followed by changing types
    By gaby424 in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: August 17th, 2011, 07:37 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
  •