Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Creating a parameter with a minimal length

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
Anonymous
403 Aufrufe, 4 Antworten

Creating a parameter with a minimal length

I am trying to make a parameter where I have length A and length B.

Length B must be at least as long as length A but needs the ability to be longer than A.

I feel like it should be easy but I can't find it.

4 ANTWORTEN 4
Nachricht 2 von 5
barthbradley
als Antwort auf: Anonymous

Length A=User Entered Value. This Parameter drives Length of Geometry A 

Length B=If(C>1/32", A+C, A). This Parameter drives Length of Geometry B

Length C=User Entered Value

Yes/No D=if(C>1/32", 1=1, 2=1)

 

B Geometry's Visibility Parameter is driven by Yes/No D Parameter.  

 

 

...or do you just mean 2 individual geometries?  

 

A+B.jpg

Nachricht 3 von 5
ToanDN
als Antwort auf: Anonymous

Length A: input parameter, assigned to geometry A if required

Length B: input parameter, not assigned to any geometry

Length C: parameter assigned to B geometry

Length C formula: = if (Length B > Length A, Length B, Length A)

Nachricht 4 von 5
Anonymous
als Antwort auf: ToanDN

Great this works!

But for my understanding the formula works as following?

If length B is bigger than Length A, Length B is true if not length A is true?

I'm just getting started with Revit and parameters so I'm still trying to figure it out.

 

Thank you very much :leicht_lächelndes_Gesicht:

Nachricht 5 von 5
ToanDN
als Antwort auf: Anonymous


@Anonymous wrote:

Great this works!

But for my understanding the formula works as following?

If length B is bigger than Length A, Length B is true if not length A is true?

I'm just getting started with Revit and parameters so I'm still trying to figure it out.

 

Thank you very much :leicht_lächelndes_Gesicht:


Your understanding is close enough.

If an user enters Length B with a value greater than Length A then the value is valid and will be used, if not greater then the value of Length A will be used.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report