| UDAManagerGetNodes(String, String) Method |
속성에 해당하는 노드 정보 반환
Namespace: VIZCore3D.NET.ManagerAssembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax public List<Node> GetNodes(
string key,
string val
)
Parameters
- key String
- 속성 KEY
- val String
- 속성 VALUE
Return Value
ListNode노드 목록
Example
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
List<Data.Node> items = vizcore3d.Object3D.UDA.GetNodes("TYPE", "HPANEL");
List<int> parts = new List<int>();
foreach (Data.Node item in items)
{
if (item.Kind != Data.NodeKind.PART) continue;
parts.Add(item.Index);
}
vizcore3d.BeginUpdate();
vizcore3d.Model.UncheckToUnload = false;
vizcore3d.Object3D.Show(Data.Object3DKind.ALL, false);
vizcore3d.Object3D.Show(parts, true);
vizcore3d.EndUpdate();
}
See Also