"Attribute and Operator names as macros"

Ozone
Ozone New Altair Community Member
edited November 5 in Community Q&A
Hi,

does anyone know how to set the name of an operator like "k-NN" and/or the name of an attribute as a macro name to use it for file and path names like

/home/%{operator_name}/anyfolder/%{attribute1}

I have a bit complex solution but only want to know if there is any predefined shortcut similar as %{a} for loop count or %{file_path} for file path?!

Thanks a lot
Ozone



Answers

  • land
    land New Altair Community Member
    Hi,
    there's no built in macro for this, but you could just prepend a Set Macro operator and set such a macro to the actual name of the following operator.

    Greetings,
      Sebastian