hfVisualizer 원격 제어 Environment
environment-unit-system
hfVisualizer --remote [--target <id>] environment-unit-system get
hfVisualizer --remote [--target <id>] environment-unit-system set <force-length-time-temp|none>
set으로 길이 단위가 바뀌면 hfVisualizer는 렌더 뷰에서 크기가 바뀐 모델이 다시 보이도록 카메라를 reset합니다.get은 현재 전역*Environment, TYPE=UnitSystem토큰을 JSON으로 반환합니다.set은 GUIEnvironment > UnitSystem편집기와 같은 전역 UnitSystem 동작을 적용합니다.set은 preprocessing mode가 필요합니다.- 값은
kN-mm-s-K같은 4필드 토큰이거나 전역 UnitSystem을 지우는none이어야 합니다. - 함수나 단면에 로컬 UnitSystem 정의가 남아 있으면
none으로 지우는 것은 거부됩니다. - GUI
Environment > UnitSystemApply도 같은 정규 tailenvironment-unit-system set ...를 Remote Control History와*.ipc.txt에 남깁니다.
예시:
hfVisualizer --remote environment-unit-system get
hfVisualizer --remote environment-unit-system set kN-mm-s-K
hfVisualizer --remote environment-unit-system set none
environment-info
hfVisualizer --remote [--target <id>] environment-info get
hfVisualizer --remote [--target <id>] environment-info set (--content <text> | --content-file <file>)
get은 현재 정규화된*Environment, TYPE=Info본문을 JSON으로 반환합니다.set은 GUIEnvironment > Info편집기의 본문 내용을 그대로 적용합니다.set은 preprocessing mode에서 사용할 수 있고, GUI와 같은 예외 경로로 postprocessing mode에서도 수정할 수 있습니다.--content와--content-file중 정확히 하나가 필요합니다.--content안에서는 줄바꿈을\n으로 씁니다.\\n은 문자 그대로 유지됩니다.- 빈 내용은 허용되지 않습니다.
- postprocessing mode에서는 성공 시 DB file을 즉시 갱신하며, 이는 GUI
Environment > Info동작과 같습니다. - GUI
Environment > InfoApply도 같은 정규 tailenvironment-info set --content ...를 Remote Control History와*.ipc.txt에 남깁니다.
예시:
hfVisualizer --remote environment-info get
hfVisualizer --remote environment-info set --content "The bridge is analyzed by Hyfeast.\nReviewed on site."
environment-control
hfVisualizer --remote [--target <id>] environment-control get
hfVisualizer --remote [--target <id>] environment-control set (--content <text> | --content-file <file>)
get은 다음 정보를 반환합니다.- 정규화된
*Environment, TYPE=Control본문 - 구조화된 제어 필드
compact,equationPrint,shell5Dof,outputPrecision,constraintHandler,nonsmoothIntegrationLevel,boundaryTolerance set은 GUIEnvironment > Control편집기의 본문 내용을 그대로 적용합니다.set은 preprocessing mode가 필요합니다.--content와--content-file중 정확히 하나가 필요합니다.--content안에서는 줄바꿈을\n으로 씁니다.\\n은 문자 그대로 유지됩니다.- 빈 내용은 허용되지 않습니다.
- GUI
Environment > ControlApply도 같은 정규 tailenvironment-control set --content ...를 Remote Control History와*.ipc.txt에 남깁니다.
예시:
hfVisualizer --remote environment-control get
hfVisualizer --remote environment-control set --content "Compact=Off, OutputPrecision=double, BoundaryTolerance=1e-5"