2015-01-17 11:37 AM
2015-01-20 11:29 AM
Dave wrote:
Jensvs
You jumped over Erich's Comment.....
This says that if parameter1 is turned on, parameter2 is to be hidden. For this to work, parameter1 must be a boolean value.
For your desk you need to create a Boolean value for the doors and or drawers. If the only two options are drawers or doors then try something like this (assuming you are using a VALUES script in the master script)
Parameters
desk_type Abc
desk_drawers Boolean
desk_doors Boolean
Master Script
dt_1 = "Doors"
dt_2 = "Drawers"
VALUES "desk_type" "Doors", "Drawers"
Parameters Script
IF desk_type = dt_1 THEN
PARAMETERS desk_doors = 1
PARAMETERS desk_drawers = 0
ENDIF
IF desk_type = dt_2 THEN
PARAMETERS desk_doors = 0
PARAMETERS desk_drawers = 1
ENDIF
Then you set up what parameters you want hidden or showing based on the values of desk_door and desk_drawers
IF desk_drawer = 1 THEN
HIDEPARAMETERS .................
ENDIF
Hope that helps.
David
2015-01-20 02:27 PM