The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[solved] dependency in parameter fields
venkatesh20
Member Posts: 23 Maven
Hi,
I am developing a new optimization extension for rapid miner, I am running across a scenario like this.
I have a dropbox (ParameterTypeCategory), based on the values selected in this drop box, the values in the second drop box need to be filtered.
Is it possible?
So far I have only used type.registerDependencyCondition(new EqualTypeCondition(this, ......, availableOptimizationMethods, false, 0, 1, 2));
which helps to enable or disable a parameter based on the value of another parameter. But I just wondering if the choices in a drop box can be filtered or modified based on the value in the another parameter.
Any help would be very useful. Thanks in advance.
I am developing a new optimization extension for rapid miner, I am running across a scenario like this.
I have a dropbox (ParameterTypeCategory), based on the values selected in this drop box, the values in the second drop box need to be filtered.
Is it possible?
So far I have only used type.registerDependencyCondition(new EqualTypeCondition(this, ......, availableOptimizationMethods, false, 0, 1, 2));
which helps to enable or disable a parameter based on the value of another parameter. But I just wondering if the choices in a drop box can be filtered or modified based on the value in the another parameter.
Any help would be very useful. Thanks in advance.
Tagged:
0
Answers
I'm afraid this is not possible at the moment. You could of course implement functionality to achieve your goal, however it is probably much easier (or not, depending on the number of possible combinations) to create multiple drop boxes with the possible value combinations and show the appropriate one when the EqualTypeCondition is fulfilled.
Regards,
Marco
I created multiple drop boxes as you suggested already, but i felt there is not repetitive code and data. But I think I have already implemented using multiple drop boxes and implementing custom parameter type. Thanks for confirming that is the way to go..