ExportVIZ
Overloads
| Name | Description |
|---|---|
| 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
| Name | Type | Description |
|---|---|---|
| path | string | 경로 |
| keepStructure | bool | 구조 포함 여부 |
Returns
| Type | Description |
|---|---|
| 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
| Name | Type | Description |
|---|---|---|
| path | string | 경로 |
| keepStructure | bool | 구조 포함 여부 |
| visibleOnly | bool | 보이는 모델만 내보내기 |
Returns
| Type | Description |
|---|---|
| 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 */
);
}