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] how to set nested parameters for an operator in my own code
mohammadreza
Member Posts: 23 Contributor II
Hi all,
I have the following operator in my process which contains a parameter with a list of parameters. I need to set the value of those inner parameters (i.e. the parameter with keys 'a' and 'b') in my code. I was wondering if there is any way to do that programmatically. --thanks
I have the following operator in my process which contains a parameter with a list of parameters. I need to set the value of those inner parameters (i.e. the parameter with keys 'a' and 'b') in my code. I was wondering if there is any way to do that programmatically. --thanks
<operator activated="true" class="text:process_document_from_file" compatibility="5.3.002" expanded="true" height="76" name="Process Documents from Files" width="90" x="112" y="75">ps. I tried to use setParameter( ) method but it accepts only Strings.
<list key="text_directories">
<parameter key="a" value="C:\myFile1"/>
<parameter key="b" value="C:\myFile2"/>
</list>
...
</operator>
Tagged:
0
Answers
have a look at the FAQ, question 6: http://rapid-i.com/rapidforum/index.php/topic,5807.0.html
Regards,
Marco
Thank you indeed. I was not aware of such a holistic post in the forum.
best