Skip to content

hfVisualizer Remote Control Section

section

hfVisualizer --remote [--target <id>] section <type> <name> (--content <text> | --content-file <file>) [--mass <name>] [--offset <value>] [--taper <name>]
  • Creates or updates one *Section definition.
  • Exactly one of --content or --content-file is required.
  • section runs only in preprocessing mode.
  • <type> and <name> must not be empty.
  • Optional --mass, --offset, and --taper map directly to the matching keyword options on the generated *Section line.
  • Content is passed directly to readSectionModification() after the IPC layer prepends the computed *Section keyword line.
  • Inside --content, use \n for line breaks. \\n stays literal.
  • Empty content is rejected.
  • Successful apply marks the database modified, refreshes topology, and refreshes the render pipeline.

Example:

hfVisualizer --remote section Shell SLAB --content "STEEL, 200"
hfVisualizer --remote section Beam GIRDER --mass Lumped --offset 0.15 --taper Group --content-file D:\Work\girder-section.txt

section-rename

hfVisualizer --remote [--target <id>] section-rename <old-name> <new-name>
  • Available only in preprocessing mode.
  • Both names must be non-empty and use the same single-token normalization as GUI edits.
  • The source name must exist.
  • The target name must not collide with another section unless it normalizes to the same name, in which case the command succeeds as a no-op.
  • Successful execution is recorded by script-save as a canonical section-rename ... tail.

Example:

hfVisualizer --remote section-rename SLAB SLAB_MAIN

section-delete

hfVisualizer --remote [--target <id>] section-delete <name>
  • Available only in preprocessing mode.
  • name must be non-empty and must resolve to an existing section.
  • The command uses the same delete path as ModelTree delete, so existing element section assignments are cleared through the render-model delete logic.
  • Successful execution is recorded by script-save as a canonical section-delete ... tail.

Example:

hfVisualizer --remote section-delete SLAB_MAIN