hfVisualizer Remote Control Model
model
hfVisualizer --remote [--target <id>] model <type> (--content <text> | --content-file <file>)
- Applies one
*Model, TYPE=<type>block. - Exactly one of
--contentor--content-fileis required. modelruns only in preprocessing mode.<type>must not be empty.- Supported model types in the current reader path are:
Block2DBlock3DCylinderWallRectangularTankCylindericalTankCurveExtrusionFarField2DFarField3DFarField2DxFarField3Dx- Content is passed directly to
readModel()after the IPC layer prepends the*Modelkeyword line. - Inside
--content, use\nfor line breaks.\\nstays literal. - Empty content is rejected.
- Successful apply preserves the existing per-view hidden node/element state for already hidden items, inserts newly created visible items into each view, refreshes topology, and resets the camera, matching the GUI
Modelwidget behavior.
Example:
hfVisualizer --remote model Block2D --content "B1, auto, auto, CPS4, SEC1\n0,10,10\n0,5,5"
hfVisualizer --remote model FarField3D --content-file D:\Work\farfield3d-model.txt