cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Starting August 6, 2024, TLS 1.2 will be the minimum required protocol version for Graphisoft products and services that require an online connection. Learn more…
Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.

Combine value definitions in Properties-manager?

ananas
Advocate

Hello, 

 

Anyone knows any trick how to combine value definitions in Properties-manager? is that possible?

1_string and option set.png

I would like to combine string with option set.
With sting  chosen I can add any text, while with option Set I can only choose from the option set:

2_string_can add any text.png

 

 

3_Option Set_can only choose from the options.png

I would like to use Option set as default, but still have the option to add text later while modeling - as we can do with value definition of string. 
Maybe there is some workaround for it, or should I approach and set value definitions differently?

I appreciate any advice 🙂

 

 

1 REPLY 1

Hi ananas,

How about using the following workaround:

  1. Set the Default Value of your String property (named 331 in your case)  to Undefined (DE: Nicht definitiert)
  2. Create another expression property (DE: Berechnung) and use following formula:
    IF ( ISUNDEFINED ( {Property:Caala_CostGroups/336} ); {Property:Caala_CostGroups/331};{Property:Caala_CostGroups/336} )​

This new property will only display a new custom text if you manually set a text for the 331 property.
Otherwise, it will display the selection of the 336 property.
This way you have the option set with property 336 and the custom text with property 331.

Does this help in your situation?

Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website: Archi-XT.com