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
*Sectiondefinition. - Exactly one of
--contentor--content-fileis required. sectionruns only in preprocessing mode.<type>and<name>must not be empty.- Optional
--mass,--offset, and--tapermap directly to the matching keyword options on the generated*Sectionline. - Content is passed directly to
readSectionModification()after the IPC layer prepends the computed*Sectionkeyword line. - Inside
--content, use\nfor line breaks.\\nstays 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-saveas a canonicalsection-rename ...tail.
Example:
hfVisualizer --remote section-rename SLAB SLAB_MAIN
section-delete
hfVisualizer --remote [--target <id>] section-delete <name>
- Available only in preprocessing mode.
namemust 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-saveas a canonicalsection-delete ...tail.
Example:
hfVisualizer --remote section-delete SLAB_MAIN