UDAManagerAdd Method (ListInt32, DictionaryString, String, Boolean) |
Namespace: VIZCore3D.NET.Manager
public void Add( List<int> index, Dictionary<string, string> property, bool recursive = false )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { List<int> node = new List<int>() { 4, 10, 20, 30 }; Dictionary<string, string> property = new Dictionary<string, string>(); property.Add("TYPE", "PIPE"); property.Add("SYSTEM", "GENERAL SERVICE LINE"); property.Add("SERVICE", "GENERAL SERVICE LINE"); property.Add("PRESS", "3.00"); property.Add("TEMP", "32.00"); vizcore3d.Object3D.UDA.Add( node /* NODE INDEX */ , property /* UDA */ , false /* RECURSIVE */ ); }