콘텐츠로 이동

hfVisualizer 원격 제어 Selection

selection 명령은 이후 명령이 작업할 정확한 대상을 구성할 때 사용합니다.

select

hfVisualizer --remote [--target <id>] select <node|element|constraint|load|spline|construction-line|surface|edge|sensor> <items|none> [--mode <current|union|intersection|xor|cur-diff-prev|prev-diff-cur>] [--ignore-missing]
  • 노드, 요소, 이름 객체, 면, 엣지의 현재 선택을 갱신합니다.
  • node|element: 1,2,3, 1:3, 1:5:2, none 같은 정수 패턴을 사용합니다.
  • constraint|load|spline|construction-line|sensor: name,name,... 또는 none을 사용합니다.
  • surface: surfaceName, faceId@elementPattern, faceId@elsetName, none을 사용합니다.
  • edge: 17-23, 17-42-23 같은 node-id 체인 또는 none을 사용합니다.
  • --ignore-missingselect node, select element에서만 지원합니다.
  • --ignore-missing이 없으면 요청한 node/element id 중 하나라도 없을 때 명령이 실패합니다.
  • --ignore-missing이 있으면 존재하지 않는 node/element id는 건너뛰고, 존재하는 id만 선택합니다.
  • --ignore-missing을 주었더라도 요청한 node/element id가 모두 없으면 NOT_FOUND로 실패합니다.
  • 기본 mode는 current입니다.
  • Remote Control History에는 delta 표현식이 아니라 최종 current selection 집합이 기록됩니다.
  • 가능하면 node, element, surface id는 같은 정수 패턴 형식으로 압축되어 기록됩니다.

예시:

hfVisualizer --remote select node 1:100 --ignore-missing
hfVisualizer --remote select edge "17-42-23,31-32" --mode union