Hi all,Just wondering if there are any other users creating custom GC nodes? I need some help implementing the following in a 'Function' type node:
If anyone has examples of how to achieve this that would be much appreciated!
Thanks in advance,
Ed
Hi Ed,
These are very interesting requirements. We are checking this internally.
Hi Alifur,
Perhaps it might help speed things up if I simplify the question regarding adding elements to node output; how can I instead set multiple features in a single technique and have them accessible by list index for each? Currently I have found the following issues:
Example of SetElements workflow:
List<IElement> newElements = new List<IElement>(); try { foreach (Element el in extracted) { el.AddToModel(); //Add cell child element to the active model (DgnPlatformNET Element type) IElement ele = MSApp.ActiveModelReference.GetLastValidGraphicalElement(); //Retrieve the child element (Interop Element Type) newElements.Add(ele); //Add to the list of newly created elements } IEnumerable<IElement> ie = newElements; //Create IEnumerable to set multiple elements as a GC Feature SetElements(ie); //Creates all elements, however they are on the same index, not nested objects in the list for that cell instance }
Thanks,Ed