Click or drag to resize

UDAManagerGetNodes Method (String, String)

속성에 해당하는 노드 정보 반환

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public List<Node> GetNodes(
	string key,
	string val
)

Parameters

key
Type: SystemString
속성 KEY
val
Type: SystemString
속성 VALUE

Return Value

Type: ListNode
노드 목록
Examples
C#
// VIZCore3D.NET Control
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