GetIDs
Overloads
| Name | Description |
|---|---|
| GetIDs() | Get ID List Collection |
| GetIDs(string path) | 지정된 VIZ 파일에 포함된 메타데이터 아이디(ID) 목록 반환 |
GetIDs()
public List<int> GetIDs()
Get ID List Collection
Returns
| Type | Description |
|---|---|
| List<int> | ID List |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
if (vizcore3d.Model.IsOpen() == false) return;
// Count
int count = vizcore3d.Metadata.Count;
if (count == 0) return;
List<int> items = vizcore3d.Metadata.GetIDs();
foreach (int id in items)
{
string name = vizcore3d.Metadata.GetName(id);
byte[] buffer = vizcore3d.Metadata.GetData(id);
// Some code here...
}
}
GetIDs(string path)
public List<int> GetIDs(string path)
지정된 VIZ 파일에 포함된 메타데이터 아이디(ID) 목록 반환
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | VIZ 파일 경로 (경로 + 파일) |
Returns
| Type | Description |
|---|---|
| List<int> | 메타데이터 아이디(ID) 목록 |