How to create a property attribute formula depending on another attribute

How to create a property attribute formula depending on another attribute

ERPNSE
Observer Observer
553 Views
1 Reply
Message 1 of 2

How to create a property attribute formula depending on another attribute

ERPNSE
Observer
Observer

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?

0 Likes
554 Views
1 Reply
Reply (1)
Message 2 of 2

Joe-Bouza
Mentor
Mentor

I am not well versed in property sets but if the label is a civil3d label, You would create a formula an style  setting the text height to a very small number if the condition is false

Joe Bouza
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

0 Likes