Conformal Mapping to the Torus

 From:  Karsten (KMRQUS)
9223.22 In reply to 9223.16 
Hi Brian,

>>>>>The few nodes with more than one output slot seem to have the same number of elements in each output?
Ehm -no. number of Outputs and Type, and also the number of elements are independent.

>>>>> The number of declared outputs must equal the number of outputs defined, or there is an error...?

Each declared Output (addOutput) should also be defined (this.setOutputData) means - give it a value - that's the sense. The different outputdata are stored in an array for the different Outputs. The setOutputData method needs an index where to store the generated data in the array. If a method try to Access the Output Array of a node, the method should find data with the right types - I'm not sure, but I think Max places empty data with the right type to the Output Array by default while Output creation to avoid problems. At the end the Outputs are this Array.

Have a nice day
Karsten