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
"Use of Macros within Process XML"


Hi all,
I'm trying to use Macros within the XML of a process to set the attibutes of an operator via a macro.
So for example could I have two macros %{xpath} & %{fields} which generate in a loop create some XML which is then used in the process as the operator?
%{xpath} =
I'm trying to use Macros within the XML of a process to set the attibutes of an operator via a macro.
So for example could I have two macros %{xpath} & %{fields} which generate in a loop create some XML which is then used in the process as the operator?
%{xpath} =
<parameter key="xpath_for_attribute" value="a:DataFields[1]/a:Value[1]/text()"/><parameter key="xpath_for_attribute" value="a:DataFields[2]....[%{fields} =
<parameter key="1" value="att1.true.nominal.attribute"/><parameter key="2" value="att2.true.....Currently when I put it into the XML it just removes it when I press the green tick button.
0