Good day,
I have 2 questions related to the use of value maps in the OP3D, Modelling & ModellingViews schemas.
Background.
Using configuration manager you can set specific values for insulation thickness in a drop down box for standard preferences. But when creating a pipeline the user has the ability to manual key in the insulation thickness a default value is shown based on the standard preference. I would like to make this a drop down box of specific values in the Pipeline and Piping Component classes.
I used the insulation material property as an example and created a value map called INSULATION_THICKNESS_VALUE_MAP. Using the the ExtendType & Lookup Value Map Pointer custom attribs I get the list to populate in a drop down box. Upon selection an error appears "Invalid Value". As it turns out when selecting the value from the drop down list the property name from the value map is being pushing in the property INSULATION_THICKNES from either Pipeline or Pipine Component class. INSULATION_THICKNESS is a double type property and text is trying to stored into the property causing the error.
I have tried to change the property type of the value map to double or int but still get the same error.
Questions:
1. Is it possible to control insulation thickness values in a drop down menu the same way as the way you can in standard preferences by using configuration manager and selecting VALUES for input method?
2. Can value map properties be set up so when you select that you can push back a particular value in a set format? i.e. Picking INSUL_THKNS_3_0 would store a value in INSULATION_THICKNESS of 3.0.
Any help is greatly appreciated.