Results 1 to 5 of 5

Thread: Scale Parameter for 2D Lines

  1. #1
    New Member
    Join Date
    January 25, 2013
    Posts
    2
    Current Local Time
    02:56 PM

    Scale Parameter for 2D Lines

    Hello,

    I'm trying to create a simple tree family without any render images, only model lines displayed in elevation, 3d view and plan view. Just like the standard trees, people families in Revit when viewed in hidden lines view.
    I want to create a family that has a parameter that controls the actual height of the tree (the 2d lines), just like the parameter that the Revit standard families have, but I can't figure out how they have created that parameter.

    What would be the best way to create a family like that?

    /Philip

  2. #2
    Moderator
    "RFO 2012 Spelling Bee Champion"
    Alex Cunningham's Avatar
    Join Date
    December 8, 2010
    Location
    Northern California
    Posts
    3,066
    Current Local Time
    05:56 AM
    You have to use.... MATH
    Attached Files Attached Files

  3. #3
    New Member
    Join Date
    January 25, 2013
    Posts
    2
    Current Local Time
    02:56 PM
    Ok... The family you send is not what I'm trying to do. Do you mean that I need to create parameters for every line creating the tree shape to be controlled by one single parameter: the height parameter?
    If so I have a problem because I'm using spline lines to create my 2d drawing.
    A solution that I would think of is if there is some way to create a scale parameter. What do you think?

  4. #4
    Member
    Join Date
    August 19, 2011
    Location
    New Hampshire
    Posts
    292
    Current Local Time
    07:56 AM
    You could do something like this. It's not a perfect idea, but if you just need something to show in 2D...

    Just a note, I can only get this to work with linework. Extrusions or masking regions don't scale quite the same way that I can find, so you'd have to either make a whole bunch of types and use visibility parameters to control extrusions or something.
    Attached Files Attached Files

  5. #5
    Moderator
    "RFO 2012 Spelling Bee Champion"
    Alex Cunningham's Avatar
    Join Date
    December 8, 2010
    Location
    Northern California
    Posts
    3,066
    Current Local Time
    05:56 AM
    Back in the day... scale was called XP value in the land of CAD. If you would look carefully at my family I posted you will see that I do in fact have a "scale" parameter called "Scale Factor". As far as Revit can do scale at least. I've made a 2nd version that gives an actual "Length" input for the scaling of the line work. Since the OP said Revit 2013 I attached a 2013 version to this thread, my previous version was a 2012 version. The value of this parameter would need to be manually adjusted to match the view scale. This is the only way Revit can preforming view based scaling. It sucks but its the best we got.
    In regards to your spline problems. You are able to attach the nodes of the spline to reference planes and control those reference planes with dimensions. Ive make a short video to explain this.
    See it here: 2013-01-31_0812 - Alex_Cunningham's library

    Hope this helps.
    Attached Files Attached Files

Similar Threads

  1. 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
  2. Scale parameter
    By Andres Franco in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: October 11th, 2012, 09:36 PM
  3. How to view Section view lines on a plan view bigger than 1:100 scale
    By eks_al in forum Architecture and General Revit Questions
    Replies: 6
    Last Post: January 17th, 2012, 11:41 PM
  4. How to print that all lines would be thick lines?
    By bangobeat in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: July 14th, 2011, 08:07 AM
  5. Convert Project Parameter to Shared Parameter
    By Rustle in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: January 5th, 2011, 07:35 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
  •