ExportNode
Overloads
| Name | Description |
|---|---|
| ExportNode(int index, string path) | 노드 내보내기 |
ExportNode(int index, string path)
public bool ExportNode(int index, string path)
노드 내보내기
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | 노드 인덱스 |
| path | string | 저장할 경로 |
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.SELECTED_TOP
);
if (items.Count == 0) return;
string output = "C:\\Model\\Node.viz";
bool result = vizcore3d.Model.ExportNode(
items[0].Index /* Node Index */
, output /* Path */
);
if(result == false)
{
// Fail To Export
}
}