본문으로 건너뛰기

ExportVIZ

Overloads

NameDescription
ExportVIZ(Section section, string path, bool keepStructure)단면상자 영역의 모델을 VIZ 파일로 내보내기
ExportVIZ(Section section, string path, bool keepStructure, bool visibleOnly)단면상자 영역의 모델을 VIZ 파일로 내보내기
ExportVIZ(int id, string path, bool keepStructure)단면상자 영역의 모델을 VIZ 파일로 내보내기
ExportVIZ(int id, string path, bool keepStructure, bool visibleOnly)단면상자 영역의 모델을 VIZ 파일로 내보내기

ExportVIZ(Section section, string path, bool keepStructure)

public bool ExportVIZ(Section section, string path, bool keepStructure)

단면상자 영역의 모델을 VIZ 파일로 내보내기

Parameters

NameTypeDescription
sectionSection단면상자
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(Section section, string path, bool keepStructure, bool visibleOnly)

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

단면상자 영역의 모델을 VIZ 파일로 내보내기

Parameters

NameTypeDescription
sectionSection단면상자
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 */
);
}

ExportVIZ(int id, string path, bool keepStructure)

public bool ExportVIZ(int id, string path, bool keepStructure)

단면상자 영역의 모델을 VIZ 파일로 내보내기

Parameters

NameTypeDescription
idint단면상자 아이디
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(int id, string path, bool keepStructure, bool visibleOnly)

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

단면상자 영역의 모델을 VIZ 파일로 내보내기

Parameters

NameTypeDescription
idint단면상자 아이디
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 */
);
}