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

"Propagating Macros"

mdrmdr Member Posts: 7 Contributor II
edited June 2019 in Help
How do I propagate macros I defined in  process that is being by other processes.

I made a 'Read DB' process that reads the data, Discretizes it and Splits it.
I am now using this 'Read DB' process in several learners.

I am essentially creating a model for each learner using GridOptimize and I want to write out the model, params, results etc in a directory by {process_name}.

So I want to set a path in the main process (Read DB) that is then used by the sub processes. The only way it seems to do this is by putting a 'Set Macros' operator in each of the child processes and setting the path individually there.

Would there be a way to do this where I set it once in the main process and use it in the calling operators?

Thanks.

mdr
Tagged:
Sign In or Register to comment.