본문으로 건너뛰기

모델 외형 검색

모델 외형 검색

  • 현재 알려져 있는 모델의 외형 모델(부재) 를 검색하는 기능입니다.

예제

// 모델 열린 상태 확인
if (Connector.IsOpenDocument() == false) return;

// 외형 검색 수행
List<NodeVO> items = Connector.GetOutsidePartList();
List<int> NodeIndex = new List<int>();

foreach (NodeVO item in items)
{
NodeIndex.Add(item.Index);
}

// 외형 검색 결과를 파일로 내보내기
Connector.ExportFile(
"C:\\Outside.viz", /* 파일 이름 */
NodeIndex.ToArray(), /* 대상 항목 */
ExportFileType.VIZ, /* 파일 유형 */
ExportFileMode.NODE_INDEX /* 내보내기 방식 */
);