Skip to content

hfVisualizer Remote Control Distribution

distribution

hfVisualizer --remote [--target <id>] distribution <type> (--content <text> | --content-file <file>)
  • Applies one *Distribution, TYPE=<type> block.
  • Exactly one of --content or --content-file is required.
  • distribution runs only in preprocessing mode.
  • <type> must not be empty.
  • Supported distribution types are:
  • Section
  • BeamCS
  • BeamEndRelease
  • EmbeddedLineSpline
  • EmbeddedLineHostElset
  • MCKElementScaleFactor
  • MCKElementCS
  • MovingSpringInitialPosition
  • Content is passed directly to readDistribution() after the IPC layer prepends the *Distribution keyword line.
  • Inside --content, use \n for line breaks. \\n stays literal.
  • Empty content is rejected.
  • Successful apply refreshes topology, selection-topology, and the render pipeline, matching the GUI Distribution widget behavior.

Example:

hfVisualizer --remote distribution Section --content "left, girderSection\nright, deckSection"
hfVisualizer --remote distribution BeamCS --content-file D:\Work\beamcs-distribution.txt