List dependencies on property set

List dependencies on property set

ABanzhaf
Participant Participant
840 Views
3 Replies
Message 1 of 4

List dependencies on property set

ABanzhaf
Participant
Participant

Hey,

i defined two lists in a property set and i want get them into dependency. For example when i pick the floortype of a room out of a list i want to automatically pick a value from another list

 

For example: wood = 1,  concrete = 2,  PVC = 3 etc.

The floortype and the values are pre defined in the list definitions.

 

Thanks so far !

0 Likes
Accepted solutions (1)
841 Views
3 Replies
Replies (3)
Message 2 of 4

David_W_Koch
Mentor
Mentor

I do not know of a way to link two Lists as you describe, but what you could do is set up the "driving" List from which the user selects as a List Definition, and then create a Formula property that would read the value chosen and, using a Case statement, return the associated value.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes
Message 3 of 4

David_W_Koch
Mentor
Mentor
Accepted solution

To clarify, the statement needed is Select Case, not Case.  The attached file, done in ACA 2019 (2018 file format), is a small sample file that demonstrates how a formula property can return a given value based on the value of another property, in this case one whose value is chosen from a List.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes
Message 4 of 4

ABanzhaf
Participant
Participant

Thank you very much ! Works perfectly !

0 Likes