public void EdgeObjectQuickAdd(string tName) { EdgeObjectMaker EOM = AddEdgeObject(); EOM.LoadFromLibrary(tName, true); EOM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance); EOM.tNode = this; EOM.Setup(); }
public void EdgeObjectLoadFromLibrary(int i, string tName) { if (EdgeObjects == null) { EdgeObjects = new List <EdgeObjectMaker>(); } int eCount = EdgeObjects.Count; if (i > -1 && i < eCount) { EdgeObjectMaker EOM = EdgeObjects[i]; EOM.LoadFromLibrary(tName); EOM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance); EOM.tNode = this; EOM.Setup(); } }