How to create a property attribute formula depending on another attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I'm trying to create an new attribute to my Property Set. I'm using formula property definition, because the value in this attribute is depending on another attribute value. But I don't get it to work. I have used chatGPT with no result. Better luck here, I hope.
I have an attribute named: Code. It's based on a list definition. Works perfekt. I can use the drop down list. The code goes from 01-10. Like: 01, 02, 03, 04, 05, 06, 07, 08, 09, 10.
Now I'm trying to create another attribute named Color. I need it to be based on a formula depending on what value I have set in the attribute 'Code'.
If the attribute 'Code' says 01. I want Color to say 'Black'.
If the attribute 'Code' says 02. I want Color to say 'Blue'.
If the attribute 'Code' says 03. I want Color to say 'Brown'. etc.
Is this possible to solve with a formula in Civil 3D?