UDAManagerGetNodes Method (String, String) |
Namespace: VIZCore3D.NET.Manager
public List<Node> GetNodes( string key, string val )
// 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(); }