Revit MEP Forum
Welcome to Autodesk’s Revit MEP Forums. Share your knowledge, ask questions, and explore popular Revit MEP topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

making a variable parameter formula in revit mep

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
ro2600
2794 Views, 6 Replies

making a variable parameter formula in revit mep

hello,

 

i want to make a variable parameter for a revit family. i want for example a dimension between 8 and 50 meters.

 

can somebody help me?

 

kind regards,

 

romeo soeliman

6 REPLIES 6
Message 2 of 7
davidvs
in reply to: ro2600

 

Do you mean like this?

 

UserParam (Length) - User can type in anything

 

CTRLUserParam = if(UserParam < 8 m, 8 m, if (UserParam > 50 m, 50 m, UserParam))

 

 

The user can type whatever size they want in the UserParam, but CTRLUserParam, which is what you'd link to your geometry, will force it to always fall between 8 m and 50 m.

 

 

Message 3 of 7
davidvs
in reply to: ro2600

 

Parameter IsWelded (Common / Yes-No parameter, probably an instance parameter?)

 

CTRLength is in the Other group, and is hooked up to whatever dimensions drive the geometry.  It's also an instance parameter if IsWelded is instance

 

Length is what the user sees. It's also an instance parameter if IsWelded is instance

 

 

CTRLLength = if(IsWelded, Length - 5mm, Length)

 

 

Message 4 of 7
ro2600
in reply to: davidvs

thanks for your help!

 

i have tested and it works!

Message 5 of 7
jpklagman
in reply to: ro2600

hellow sir

 

 

can u please give some ideas to using schedule calculate value

 

i have existing electrical conduit and i just want to produced conduit schedule

 

i have conduit models 10 to 15 meters length and i just want to replect  to my schedule every conduit are cutted every 3 meters.

 

best regards

 

jpl...

 

Message 6 of 7
CoreyDaun
in reply to: jpklagman

Hello and welcome to the Discussion Groups!

 

Are you aiming to report the number of 3m sections of Conduit required? If so, create a Calculated Value (Integer) with the formula:

 

= Roundup (Length / 3m)

 


 

*Note that some older versions of Revit do not have the "Round" functions, and in this case, you will have to create and additional Calculated Value to force the rounding and use these formulae:

 

Calculated Value ("Rounding") (You can make this Field hidden)

= Length / 3m

 

Calculated Value ("Total Segments")

= Rounding + if(Rounding * 3m < Length, 1, 0)

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Message 7 of 7
DanielLemen
in reply to: ro2600

I have a parameter that I want the user to change between 10mm to 600mm How do I make that?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report