I do not really understand how to use the BuildOutputAst. Let say I just want to create a simple with 3 inputs x,y,z and from that I want to create a point. I know I can create this with the ZeroTouch but I will need the component to have an GUI.
[NodeName(“Lines To SmartMesh”)]
[NodeCategory(“Core.Color.Create”)] // Need to change this
[NodeDescription(“Converts a set of Lines into a SmartMesh.”)]
public class CreatePoint : NodeModel
public LinesToSmartMesh(WorkspaceModel workspace)
InPortData.Add(new PortData(“x”, “Set of lines to be converted.”));
InPortData.Add(new PortData(“Y”, “Set of lines to be converted.”));
InPortData.Add(new PortData(“Z”, “Set of lines to be converted.”));
OutPortData.Add(new PortData(“Pt”, “Converted SmartMesh.”));
public override IEnumerable<AssociativeNode> BuildOutputAst(List<AssociativeNode> inputAstNodes)
How do I get the information from the inputs and how do I return something to the output?
All the best,