본문으로 건너뛰기

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.Section.Sections.Count == 0) return;
if (vizcore3d.Section.SelectedItem == null) return;

VIZCore3D.NET.Data.Section item = vizcore3d.Section.SelectedItem;

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

private void Example2()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.Section.Sections.Count == 0) return;
if (vizcore3d.Section.SelectedItem == null) return;

VIZCore3D.NET.Data.Section item = vizcore3d.Section.SelectedItem;

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

private void Example3()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.Section.Sections.Count == 0) return;
if (vizcore3d.Section.SelectedItem == null) return;

VIZCore3D.NET.Data.Section item = vizcore3d.Section.SelectedItem;

vizcore3d.Section.ExportVIZ(
item.ID /* Section(Box) */
, "C:\\Temp\\Section.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.Section.Sections.Count == 0) return;
if (vizcore3d.Section.SelectedItem == null) return;

VIZCore3D.NET.Data.Section item = vizcore3d.Section.SelectedItem;

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

private void Example2()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.Section.Sections.Count == 0) return;
if (vizcore3d.Section.SelectedItem == null) return;

VIZCore3D.NET.Data.Section item = vizcore3d.Section.SelectedItem;

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

private void Example3()
{
if (vizcore3d.Model.IsOpen() == false) return;
if (vizcore3d.Section.Sections.Count == 0) return;
if (vizcore3d.Section.SelectedItem == null) return;

VIZCore3D.NET.Data.Section item = vizcore3d.Section.SelectedItem;

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