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: 

Convert Angle and Size Parameters to fill Text Parameters with Suffix

6 ANTWORTEN 6
GELÖST
Antworten
Nachricht 1 von 7
lars.olssonZJQNS
464 Aufrufe, 6 Antworten

Convert Angle and Size Parameters to fill Text Parameters with Suffix

I could not find this question in any of my searches, Apologies if double post
I'm trying to extract the Angle Parameter And the Diameter parameter into a third parameter called Prefab Name (text) with added Suffix
So If my Angle Parameter was 90.00° and my Diameter 2"
Prefab name would read: P90-200 or P90-2", or something like that

The Issue I'm running into is inconsistent units warning.
I'm quite new families and parameters in general,
Does anybody know if this is possible?

Cheers!

Example.PNG

Beschriftungen (2)
6 ANTWORTEN 6
Nachricht 2 von 7
barthbradley
als Antwort auf: lars.olssonZJQNS
Nachricht 3 von 7
lars.olssonZJQNS
als Antwort auf: barthbradley

Thanks for the reply,

I can Convert Angle in to a number and so on.

The Problem now is to get my numbers in to a Text parameter.

Is that possible?

Nachricht 4 von 7
barthbradley
als Antwort auf: lars.olssonZJQNS

Is this for Schedules?  Perhaps you can use Combine Parameters for this.

 

Combine Parameters 221.pngCombine Parameters 222.png

 

 

 

https://help.autodesk.com/view/RVT/2023/ENU/?guid=GUID-FB1AD8E6-86C1-422D-98F2-869A989C8EA2

Nachricht 5 von 7
SteveKStafford
als Antwort auf: lars.olssonZJQNS

The kind of data conversion and harvesting you're describing isn't possible inside Revit. It is possible with Dynamo or other API programming. You'd have to supply the actual values you require in each type and then run a Dynamo graph you create to evaluate those parameters and create the ID value you want from that. It would need to be run again each time the family changes, new types are added for example.


Steve Stafford
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
EESignature

Nachricht 6 von 7
ToanDN
als Antwort auf: lars.olssonZJQNS

Why do thyy need to be in one text parameter?  If you want to tag then create a label consists of the two parameters, with prefix/suffix and the desired units format .  If you want to show them combined in a schedule then use Combine parameters.

Nachricht 7 von 7

Thanks for all the replies, 

I opted for combined parameter in schedule, which has worked fine,

I'm realizing the more I work in Revit that Dynamo can solve most issues

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