Revit parameter

Revit parameter

msdvicky
Explorer Explorer
643 Views
5 Replies
Message 1 of 6

Revit parameter

msdvicky
Explorer
Explorer

I need to create a formula for a parameter in which whatever the value user enters it should return a value in multiplication of 250.for example if the user enters 150 it should return 250 if user enters 600 it should return 750. Any idea on this?

0 Likes
Accepted solutions (2)
644 Views
5 Replies
Replies (5)
Message 2 of 6

TripleM-Dev.net
Advisor
Advisor
Accepted solution

Hi,

 

Use 2 parameters, a input parameter and a converted parameter and use the function Round / RoundUp / RoundDown.

 

See samples below, depending on rounding demand use any of the 3 rounding functions.

(looks like you need Roundup, 0=250, 600=750 etc)

For this example I used Integers, but could be used with any number units.

 

Round, RoundUp, RoundDownRound, RoundUp, RoundDown

 

- Michel

Message 3 of 6

barthbradley
Consultant
Consultant
Accepted solution

@msdvicky wrote:

I need to create a formula for a parameter in which whatever the value user enters it should return a value in multiplication of 250.for example if the user enters 150 it should return 250 if user enters 600 it should return 750. Any idea on this?


 

Preparing client invoices?  

 

Billing.png

 

😉

Message 4 of 6

barthbradley
Consultant
Consultant

..if so, whatever you do, don't put a stamp on the envelope and mail the invoice.

 

If there is one thing I learned from watching the movie "The Firm"; the stamp is what makes the False Invoice a Federal Crime - not the False Invoice itself.   

 

FWIW    

Message 5 of 6

msdvicky
Explorer
Explorer

No! its just a component height which should increase by 250 mm.thanks

0 Likes
Message 6 of 6

msdvicky
Explorer
Explorer

Thanks!! 

0 Likes