본문으로 건너뛰기

ExportVIZ

Overloads​

NameDescription
ExportVIZ(string path, bool keepStructure)선택상자 영역의 모델을 VIZ 파일로 내보내기
ExportVIZ(string path, bool keepStructure, bool visibleOnly)선택상자 영역의 모델을 VIZ 파일로 내보내기

ExportVIZ(string path, bool keepStructure)​

public bool ExportVIZ(string path, bool keepStructure)

선택상자 영역의 모델을 VIZ 파일로 내보내기

Parameters​

NameTypeDescription
pathstring경로
keepStructurebool구조 포함 여부

Returns​

TypeDescription
bool결과

Examples​

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example1()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.SelectionBox.Items.Count == 0) return;

VIZCore3D.NET.Data.SelectionBox item = vizcore3d.SelectionBox.Items[0];

item.ExportVIZ(
"C:\\Temp\\SelectionBox.viz" /* Path */
, true /* Keep Structure */
);
}

private void Example2()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.SelectionBox.Items.Count == 0) return;

VIZCore3D.NET.Data.SelectionBox item = vizcore3d.SelectionBox.Items[0];

vizcore3d.SelectionBox.ExportVIZ(
item /* Section(Box) */
, "C:\\Temp\\SelectionBox.viz" /* Path */
, true /* Keep Structure */
);
}

private void Example3()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.SelectionBox.Items.Count == 0) return;

VIZCore3D.NET.Data.SelectionBox item = vizcore3d.SelectionBox.Items[0];

vizcore3d.SelectionBox.ExportVIZ(
item.ID /* SelectionBox */
, "C:\\Temp\\SelectionBox.viz" /* Path */
, true /* Keep Structure */
);
}

ExportVIZ(string path, bool keepStructure, bool visibleOnly)​

public bool ExportVIZ(string path, bool keepStructure, bool visibleOnly)

선택상자 영역의 모델을 VIZ 파일로 내보내기

Parameters​

NameTypeDescription
pathstring경로
keepStructurebool구조 포함 여부
visibleOnlybool보이는 모델만 내보내기

Returns​

TypeDescription
bool결과

Examples​

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example1()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.SelectionBox.Items.Count == 0) return;

VIZCore3D.NET.Data.SelectionBox item = vizcore3d.SelectionBox.Items[0];

item.ExportVIZ(
"C:\\Temp\\SelectionBox.viz" /* Path */
, true /* Keep Structure */
);
}

private void Example2()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.SelectionBox.Items.Count == 0) return;

VIZCore3D.NET.Data.SelectionBox item = vizcore3d.SelectionBox.Items[0];

vizcore3d.SelectionBox.ExportVIZ(
item /* Section(Box) */
, "C:\\Temp\\Section.viz" /* Path */
, true /* Keep Structure */
);
}

private void Example3()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.SelectionBox.Items.Count == 0) return;

VIZCore3D.NET.Data.SelectionBox item = vizcore3d.SelectionBox.Items[0];

vizcore3d.SelectionBox.ExportVIZ(
item.ID /* SelectionBox */
, "C:\\Temp\\SelectionBox.viz" /* Path */
, true /* Keep Structure */
);
}