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

Results 1 to 5 of 5

Thread: Apply Diameter Parameter to Beam Family

  1. #1
    Junior Member
    Join Date
    October 30, 2013
    Posts
    47
    Current Local Time
    10:26 PM

    Apply Diameter Parameter to Beam Family

    Hello

    I am a computer programmer attempting to apply a parameter to a relatively simple family so please forgive me for any ignorance :P Can you give me some advice on how I can apply a diameter parameter to my Pipe Family (the Family inherits from a Metric Structural Framing - Beams and Braces).

    Below are images of my Family in its current state:
    Apply Diameter Parameter to Beam Family-capture.jpgApply Diameter Parameter to Beam Family-capture2.jpg

    As you can see above I would like to apply a parameter called 'Pipe Diameter' that will set the diameter of the pipe. Can anyone provide advice on what steps I can take to achieve this?

    Notes:
    - Yes I am aware Revit has standard pipe families BUT I am writting an addin. And addins can only create pipes IF the user is in a MEP Project (in Revit 2013 this is solved in Revit 2014). So using standard pipes is not a solution to my question.
    - The family was created by producing a Circular Extrusion in the Left view/elevation and then a Circular Void Extrusion. So maybe I can apply a reference line to the void extrusion then click that line and apply a parameter to it? Although I've tried this and it doesn't work but maybe I did it wrong?
    Last edited by samz1; January 13th, 2014 at 09:05 PM.

  2. #2
    Moderator
    "RFO 2012 Spelling Bee Champion"
    Alex Cunningham's Avatar
    Join Date
    December 8, 2010
    Location
    Northern California
    Posts
    3,567
    Current Local Time
    04:26 AM
    Use Revit 2014

  3. #3
    Junior Member
    Join Date
    October 30, 2013
    Posts
    47
    Current Local Time
    10:26 PM
    That cuts out many customers who are using Revit 2013, not a solution.

    However clicking 'Edit Extrusion' and then applying the Diameter Annotation that way worked nicely

  4. #4
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,175
    Current Local Time
    06:26 AM
    A few things:

    1. Using a Solid plus a void, is WAY heavier than using just a solid. Performance wise, and size wise. I would sketch both the ID and the OD in the one element, and constrain them both.

    2. I certainly wouldnt replace families for Pipes, just because of a limitation of the API in Revit 2013. I would just build the tool for 2014, and blame it on Autodesk that it doesnt have that feature in 2013. A family isnt a pipe. It cannot connect to the systems like a pipe, and it wont perform or act like a pipe. You wont be able to constrain or control it like a pipe, and it might not look like a pipe.

    The goal (im assuming) is to "get customers," but i think the goal is also to get the customers something use-able. A family cannot be a pipe.

    EDIT: Just noticed were in the RST forum. If were talking about Pipe Columns, or Pipe Framing, disregard all of number 2 above. I ASSumed we were talking about Pipes like plumbing pipes, since you mentioned MEP.
    Last edited by Twiceroadsfool; January 14th, 2014 at 12:13 AM.

  5. #5
    Junior Member
    Join Date
    October 30, 2013
    Posts
    47
    Current Local Time
    10:26 PM
    Thanks for the advice. Well plumbing is what the pipes will be used for, more specifically, they will represent stormwater and sewerage pipes. Note; each pipe will not connect to another pipe but rather a Pit (Circular or Square) - which is another family.

    When you say "I would sketch both the ID and the OD in the one element, and constrain them both.", I am unsure if this is what I have done but I have a feeling I may have (and I explained it wrong in the OP). Because when I click 'Edit Extrusion' the ID and the OD (or the inner circle extrusion and the outer circle extrusion) are both editable which makes me thing that they were bother created in the same sketch. Is this what you mean? If not I think I'll take your advice and make it 1 extrusion because I want that speed.

Similar Threads

  1. Revit OpEd: Apply versus APPLY and View Templates
    By Revit OpEd in forum Blog Feeds
    Replies: 0
    Last Post: June 21st, 2013, 09:15 PM
  2. select by parameter? curtain wall panels' materials by parameter, by type or family?
    By oompa_l in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: January 24th, 2013, 02:20 PM
  3. How to apply a certain limit to family
    By alexo4141 in forum Architecture - Family Creation
    Replies: 14
    Last Post: February 20th, 2012, 08:50 PM
  4. Replies: 0
    Last Post: October 13th, 2011, 02:45 PM
  5. Hotfix – Apply material family parameters using the Paint tool
    By Munkholm in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: October 11th, 2011, 07:34 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
  •