Error with macros

Some /vis commands (optionally) take a string to specify colour.
“/vis/list” to see available colours.
ERROR: Can not open a macro file <init_vis.mac>. Set macro path with “/control/macroPath” if needed.

Looks like you are running in a directory different to that containing init_vis.mac. Two solutions:

  1. Start your application in the directory containing init_vis.mac.
  2. Copy init_vis.mac and any macros it includes into the directory from which you start your application.

When you start an application it starts from the “current working directory”, which is where you are typing your application start command, e.g., ./exampleB1.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.