ExportMoldLineVisible
public bool ExportMoldLineVisible(string path)
숨긴 몰드 선분 목록을 JSON 파일로 저장
Remarks
SetMoldLineVisible 등으로 숨긴 선분을 노드 ID(nodeId)와 선분 순번(orders)으로 기록한다.
선분별 표시 상태는 모델 파일에 저장되지 않으므로, 모델을 다시 열었을 때 ImportMoldLineVisible 로 복원하는 데 쓴다.
숨긴 선분이 없으면 빈 목록으로 저장하고, 같은 경로의 파일은 덮어쓴다.
모델이 열려 있지 않거나 파일을 쓸 수 없으면 false 를 반환한다.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | 저장할 JSON 파일 경로 |
Returns
| Type | Description |
|---|---|
| bool | 저장 성공 여부 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
vizcore3d.View.MoldLine.ExportMoldLineVisible(@"C:\Temp\moldline_hidden.json");
}