Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
Like Tree11Likes

Thread: Transfer of (family) parameter values when swapping Families

  1. #1
    Member
    Join Date
    March 21, 2013
    Location
    Phoenix, AZ
    Posts
    275
    Current Local Time
    09:56 AM

    Transfer of (family) parameter values when swapping Families

    I think I have this worked out, but the answer I found isn't the one I want....

    Is it correct that if you want instance parameter values to transfer when swapping families, the underlying parameter must be the "same" (same ElementId, maybe?)? A parameter that is just named the same, or connected to the same reference planes (named, strong, or not) will not transfer values. You can't copy-paste the "same" parameter; you can't "save-as" and have the "same" parameter. So this must mean to get the "same" parameter, the families have to be started from a template containing the "same" parameter. Which means this ability cannot be added to existing families - they must be rebuilt using the "same" template.

    Has anyone found anything else potentially limiting or impacting swapping values when swapping families? Maybe only certain family categories are affected by / adhere to this?

  2. #2
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,036
    Current Local Time
    11:56 AM
    If they are shared parameters and are instance in both families, it will transfer when you swap the families.

    Only shared parameters. The name alone won't do anything for you unless it's shared.

    Sent from my Phablet. Please excuse typos... and bad ideas.

    Aaron Maller
    Director
    Parallax Team, Inc.
    Last edited by Twiceroadsfool; June 25th, 2018 at 11:11 PM.
    anthonyB likes this.

  3. #3
    Member kubsix's Avatar
    Join Date
    March 31, 2011
    Location
    Quad Cities, Illinois
    Posts
    281
    Current Local Time
    11:56 AM

    Transfer of (family) parameter values when swapping Families

    Yes a shared parameter has to be same (from same source with same ID)

    You can:
    -Add that shared parameter to an existing family.
    -You can Save As a family that has the shared parameter to make a different family.
    -There are means to extract a shared parameter from a family to use in another.

    No it does not need to be made from the same family template. Good practice but not absolute.

    The shared parameter’s source is what’s important so that it has the same ID. As stated the name means nothing and it must be an instance parameter.


    Sent from my iPhone using Tapatalk
    Last edited by kubsix; June 26th, 2018 at 01:04 AM.

  4. #4
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,036
    Current Local Time
    11:56 AM
    I'm not 100% certain, but i'm *pretty* sure (call it 85%) doing a save-as from one family, to make a second family, will ONLY keep the parameter values in the project if that parameter is Shared in the original family. If its a regular Family Parameter, it still will reset the values.

    But i might be thinking of the ability to multi-select both families and change them, which im CERTAIN it wont let you do unless they are Shared. (Relatively certain...)

  5. #5
    Member kubsix's Avatar
    Join Date
    March 31, 2011
    Location
    Quad Cities, Illinois
    Posts
    281
    Current Local Time
    11:56 AM
    Family parameters values swap out if the family has the same file name and family parameter name and it overwrites the one already in the project. A Family parameter value goes blank if a second family is added into the project and is swapped out (different family name but with same family parameter name as the other).

    Two different parameters here:
    Shared Parameters - Originally sourced from a external text based file.
    Family Parameters - Created within the family editor itself.
    Last edited by kubsix; June 26th, 2018 at 01:19 AM.

  6. #6
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,036
    Current Local Time
    11:56 AM
    Quote Originally Posted by kubsix View Post
    Family parameters values swap out if the family has the same file name and family parameter name and it overwrites the one already in the project. A Family parameter value goes blank if a second family is added into the project and is swapped out (different family name but with same family parameter name as the other).

    Two different parameters here:
    Shared Parameters - Originally sourced from a external text based file.
    Family Parameters - Created within the family editor itself.
    Right. That's exactly what I wrote above. Lol. Unless I'm missing something you are saying.

    If you swap family A for Family B while in a project, the only way instance parameter Parameter1 is retaining it's custom value (that's set in the project) is if it's an SP (the same SP) in both families.

    Sent from my Phablet. Please excuse typos... and bad ideas.

    Aaron Maller
    Director
    Parallax Team, Inc.
    kubsix and cellersick like this.

  7. #7
    Member Tim Waldock's Avatar
    Join Date
    March 26, 2012
    Location
    Sydney, Australia
    Posts
    59
    Current Local Time
    02:56 AM
    Aaron,
    Your 100% was right - Save As of the family doesn't help. I think I even tried baking some family parameters into a template (not a very helpful workflow).
    It is very frustrating but it basically means you should use Shared Parameters whenever you create instance parameters that might possibly be in a family/type that gets swapped in the project.
    I posted about this on my blog last year:
    RevitCat: Weird Stuff with Revit Shared Parameters
    kubsix, anthonyB and cellersick like this.

  8. #8
    Member kubsix's Avatar
    Join Date
    March 31, 2011
    Location
    Quad Cities, Illinois
    Posts
    281
    Current Local Time
    11:56 AM

    Transfer of (family) parameter values when swapping Families

    Quote Originally Posted by Twiceroadsfool View Post
    Right. That's exactly what I wrote above. Lol. Unless I'm missing something you are saying.
    Nope. Was just clarifying it for myself and the readers as I was not sure if OP was making the distinction between Shared and Family parameters. Also added the tidbit that family parameters swap if saved over. Useful at times.



    Sent from my iPhone using Tapatalk
    Last edited by kubsix; June 26th, 2018 at 03:46 AM.

  9. #9
    Member
    Join Date
    March 21, 2013
    Location
    Phoenix, AZ
    Posts
    275
    Current Local Time
    09:56 AM
    Quote Originally Posted by Twiceroadsfool View Post
    If you swap family A for Family B while in a project, the only way instance parameter Parameter1 is retaining it's custom value (that's set in the project) is if it's an SP (the same SP) in both families.
    Try this:
    - Create a family template with a custom family instance parameter ("d1") wired to ref planes (create the parameter before renaming to .rft).
    - Create "Family A" from the template, and attach some geometry to the ref planes.
    - Add a new instance parameter ("d2"), wire to ref planes, attach geometry.
    - Save the family, then save again as "Family A2".
    - Create "Family B" from the template and attach some geometry in the same fashion as "Family A".

    I found that you will be able to insert Family A into a project, change "d1", and successfully pass the change to Family B and Family A2. However, if you change "d2" on Family A, it will not pass to Family A2 (and doesn't even exist in Family B).

    Happening without shared parameters, but only when based on the same template (therefore the "same" family parameter).

    Sample families are inserted into the attached project.


    Edit: The parameter has to be family built-in. Not even one generated from the same template works.
    Attached Files Attached Files
    Last edited by cellersick; June 26th, 2018 at 03:56 PM.
    kubsix likes this.

  10. #10
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,036
    Current Local Time
    11:56 AM
    Interesting. Well, ill take your word forit that it works, if done in the family template, then. While it super interesting (to me) that it works, i cant think of a reason to do it, when it could just be a Shared Parameter?
    kubsix and cellersick like this.

Page 1 of 2 12 LastLast

Similar Threads

  1. Using label parameter values as family type parameters
    By eligt in forum Architecture - Family Creation
    Replies: 3
    Last Post: August 7th, 2017, 10:08 PM
  2. Unique parameter values from hosted family
    By Profiil in forum Structure - Family Creation
    Replies: 4
    Last Post: October 1st, 2014, 11:09 AM
  3. migrate from Family Parameter to Shared without resetting values?
    By spotless in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: January 17th, 2014, 08:48 PM
  4. Replies: 0
    Last Post: February 11th, 2013, 12:15 PM
  5. can shared parameter values be linked across families?
    By jgu in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: January 28th, 2013, 11:43 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
  •