ExportVIZ
Overloads
| Name | Description |
|---|---|
| ExportVIZ(string file) | VIZ 파일 형식으로 내보내기 |
| ExportVIZ(string file, ModelExportFilter filter) | 필터에 해당하는 개체를 VIZ 파일 형식으로 내보내기 ModelExportFilterSupportALLOVISIBLE_ONLYOSELECTED_ONLYOSPECIFIED_ITEM_ONLYX |
| ExportVIZ(string file, List<Node> node) | 지정된 개체를 VIZ 파일 형식으로 내보내기 |
| ExportVIZ(string file, List<int> index) | 지정된 개체를 VIZ 파일 형식으로 내보내기 |
ExportVIZ(string file)
public bool ExportVIZ(string file)
VIZ 파일 형식으로 내보내기
Parameters
| Name | Type | Description |
|---|---|---|
| file | string | 내보내기 파일 : C:\Temp\MODEL.viz |
Returns
| Type | Description |
|---|---|
| bool | 내보내기 결과 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
string output = "C:\\Model\\Export.viz";
bool result = vizcore3d.Model.ExportVIZ(output);
if(result == false)
{
// Fail to Export
}
}
ExportVIZ(string file, ModelExportFilter filter)
public bool ExportVIZ(string file, ModelExportFilter filter)
필터에 해당하는 개체를 VIZ 파일 형식으로 내보내기 ModelExportFilterSupportALLOVISIBLE_ONLYOSELECTED_ONLYOSPECIFIED_ITEM_ONLYX
Parameters
| Name | Type | Description |
|---|---|---|
| file | string | 내보내기 파일 : C:\Temp\MODEL.viz |
| filter | ModelExportFilter | 모델 필터 |
Returns
| Type | Description |
|---|---|
| bool | 내보내기 결과 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
string output = "C:\\Model\\Export.viz";
bool result = vizcore3d.Model.ExportVIZ(
output
, Data.ModelExportFilter.VISIBLE_ONLY
);
if(result == false)
{
// Fail to Export
}
}
ExportVIZ(string file, List<Node> node)
public bool ExportVIZ(string file, List<Node> node)
지정된 개체를 VIZ 파일 형식으로 내보내기
Parameters
| Name | Type | Description |
|---|---|---|
| file | string | 내보내기 파일 : C:\Temp\MODEL.viz |
| node | List<Node> | 내보낼 노드 |
Returns
| Type | Description |
|---|---|
| bool | 내보내기 결과 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
List<VIZCore3D.NET.Data.Node> items =
vizcore3d.Object3D.FromFilter(
VIZCore3D.NET.Data.Object3dFilter.VISIBLE_PART
);
if (items.Count == 0) return;
string output = "C:\\Model\\Export.viz";
bool result = vizcore3d.Model.ExportVIZ(output, items);
if(result == false)
{
// Fail to Export
}
}
ExportVIZ(string file, List<int> index)
public bool ExportVIZ(string file, List<int> index)
지정된 개체를 VIZ 파일 형식으로 내보내기
Parameters
| Name | Type | Description |
|---|---|---|
| file | string | 내보내기 파일 : C:\Temp\MODEL.viz |
| index | List<int> | 내보낼 개체 인덱스 |
Returns
| Type | Description |
|---|---|
| bool | 내보내기 결과 |