hfVisualizer 원격 제어 Load
load
hfVisualizer --remote [--target <id>] load <type> <name> (--content <text> | --content-file <file>) [--func <name>]
*Load, TYPE=<type>, Name=<name>[, Func=<name>]정의 하나를 생성하거나 갱신합니다.--content와--content-file중 정확히 하나가 필요합니다.load는 preprocessing mode에서만 동작합니다.<type>,<name>은 비어 있으면 안 됩니다.--func <name>은 선택 사항이며 사용 시 기존 function을 가리켜야 합니다.- 지원 load type:
ConcentricDisplacementGravitySeismicRelativeTemperatureLineDistributedLineMovingSurfaceDistributedSurfaceMovingPedestrianMovingFreeFieldSeismic- IPC 계층이
*Loadkeyword line을 앞에 붙인 뒤 내용을readLoadModification(..., true)로 전달합니다. --content안에서는 줄바꿈을\n으로 씁니다.\\n은 문자 그대로 유지됩니다.- 빈 내용은 허용되지 않습니다.
- 성공적으로 적용되면 GUI
Load위젯과 같이 생성/수정된 load가 현재 load selection이 됩니다.
예시:
hfVisualizer --remote load Gravity DEAD --content "ALL, 0, 0, -9.81"
hfVisualizer --remote load Concentric LIVE --func TIME1 --content-file D:\Work\concentric-load.txt
load-rename
hfVisualizer --remote [--target <id>] load-rename <old-name> <new-name>
- preprocessing mode에서만 사용할 수 있습니다.
- 두 이름 모두 비어 있으면 안 되며 GUI 편집과 같은 single-token 정규화를 적용합니다.
- 기존 이름이 실제로 존재해야 합니다.
- 새 이름이 다른 load와 충돌하면 실패하며, 정규화 후 같은 이름이면 no-op으로 성공합니다.
- 성공하면
script-save에 canonicalload-rename ...tail이 기록됩니다.
예시:
hfVisualizer --remote load-rename DEAD DEAD_G
load-delete
hfVisualizer --remote [--target <id>] load-delete <name>
- preprocessing mode에서만 사용할 수 있습니다.
name은 비어 있으면 안 되며 기존 load를 가리켜야 합니다.- ModelTree delete와 같은 삭제 경로를 사용하므로 step 참조와 현재 load selection도 함께 정리됩니다.
- 성공하면
script-save에 canonicalload-delete ...tail이 기록됩니다.
예시:
hfVisualizer --remote load-delete DEAD_G