UDAManagerContainsNode Method |
Namespace: VIZCore3D.NET.Manager
public Dictionary<int, bool> ContainsNode( string key, string value, List<int> index, bool bottomUp = false )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { string key = "TYPE"; string val = "PIPE"; List<int> node = new List<int>() { 1, 4, 5, 7, 9, 100, 200 }; Dictionary<int, bool> result = vizcore3d.Object3D.UDA.ContainsNode( key /* UDA::KEY */ , val /* UDA::VALUE */ , node /* Node List */ , true /* True(Bottom Up), False(Current Node Index) */ ); foreach (KeyValuePair<int, bool> item in result) { if(item.Value == true) { System.Console.WriteLine("Contain"); } else { System.Console.WriteLine("Does Not Contain"); } } }