-o, -O, --OpenFilePath Instruct Dynamo to open a command file and run the commands it contains at
this path, this option is only supported when run from DynamoSandbox
-c, -C, --CommandFilePath Instruct Dynamo to open a command file and run the commands it contains at
this path, this option is only supported when run from DynamoSandbox
-v, -V, --Verbose Instruct Dynamo to output all evaluations it performs to an XML file at this path
-g, -G, --Geometry Instruct Dynamo to output geometry from all evaluations to a JSON file at this path
-h, -H, --help Get some help
-i, -I, --Import Instruct Dynamo to import an assembly as a node library. This argument should be a
file path to a single.dll - if you wish to import multiple dlls - list the dlls
separated by a space: -i 'assembly1.dll' 'assembly2.dll'
--GeometryPath Relative or absolute path to a directory containing ASM. When supplied, instead of
searching the hard disk for ASM, it will be loaded directly from this path
-k, -K, --KeepAlive Keepalive mode, leave the Dynamo process running until a loaded extension shuts it
down
--HostName Identify Dynamo variation associated with the host
-s, -S, --SessionId Identify Dynamo host analytics session id
-p, -P, --ParentId Identify Dynamo host analytics parent id
-x, -X, --ConvertFile When used in combination with the 'O' flag, opens a .dyn file from the specified
path and converts it to .json. The file will have the .json extension and be
located in the same directory as the original file
-n, -N, --NoConsole Don't rely on the console window to interact with CLI in Keepalive mode
-u, -U --UserData Specify user data folder to be used by PathResolver with CLI
--CommonData Specify common data folder to be used by PathResolver with CLI
--DisableAnalytics Disables analytics in Dynamo for the process lifetime
--CERLocation Specify the crash error report tool located on the disk
--ServiceMode Specify the service mode startup
使用する理由
次のようなさまざまな理由により、コマンド ラインから Dynamo をコントロールする場合があります。
多数の Dynamo の実行を自動化する
Dynamo グラフをテストする(DynamoSandbox を使用する場合は -c も参照する)
一連の Dynamo グラフを特定の順序で実行する
複数のコマンド ラインを実行するバッチ ファイルを作成する
Dynamo グラフの実行をコントロールおよび自動化する別のプログラムを記述し、その計算結果を使用してさまざまな処理を行う
-v このフラグは、Dynamo がヘッドレス モードで実行されている場合(-o を使用してファイルを開いた場合)に使用できます。このフラグは、グラフ内のすべてのノードを反復し、その出力値を単純な XML ファイルにダンプします。--ServiceMode フラグは Dynamo に複数のグラフ評価を実行するように強制できるため、出力ファイルには各評価の値が含まれます。