hfVisualizer 원격 제어 Section
section
hfVisualizer --remote [--target <id>] section <type> <name> (--content <text> | --content-file <file>) [--mass <name>] [--offset <value>] [--taper <name>]
*Section정의 하나를 생성하거나 갱신합니다.--content와--content-file중 정확히 하나가 필요합니다.section은 preprocessing mode에서만 동작합니다.<type>,<name>은 비어 있으면 안 됩니다.- 선택 사항인
--mass,--offset,--taper는 생성되는*Sectionkeyword option에 그대로 매핑됩니다. - IPC 계층이 계산한
*Sectionkeyword line 뒤에 본문 내용을 붙여readSectionModification()으로 전달합니다. --content안에서는 줄바꿈을\n으로 씁니다.\\n은 문자 그대로 유지됩니다.- 빈 내용은 허용되지 않습니다.
- 성공하면 topology와 DB modified 상태를 갱신하고 render pipeline을 refresh합니다.
예시:
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>
- preprocessing mode에서만 사용할 수 있습니다.
- 두 이름 모두 비어 있으면 안 되며 GUI 편집과 같은 single-token 정규화를 적용합니다.
- 기존 이름이 실제로 존재해야 합니다.
- 새 이름이 다른 section과 충돌하면 실패하며, 정규화 후 같은 이름이면 no-op으로 성공합니다.
- 성공하면
script-save에 canonicalsection-rename ...tail이 기록됩니다.
예시:
hfVisualizer --remote section-rename SLAB SLAB_MAIN
section-delete
hfVisualizer --remote [--target <id>] section-delete <name>
- preprocessing mode에서만 사용할 수 있습니다.
name은 비어 있으면 안 되며 기존 section을 가리켜야 합니다.- ModelTree delete와 같은 삭제 경로를 사용하므로 render-model delete 로직을 통해 기존 element의 section assignment도 함께 정리됩니다.
- 성공하면
script-save에 canonicalsection-delete ...tail이 기록됩니다.
예시:
hfVisualizer --remote section-delete SLAB_MAIN