algorithmic modeling for Rhino
I spent a bit of time today trying to work out why the Chameleon gbXML component kept giving me the "Object reference not set to an instance of an object" error.
What I found was that Chameleon makes the following assumptions about the gbXML file
1) The 'Location' XML node must contain the Name, Latitude and Longitude nodes.
In that order and as the first child nodes of the Location node
2) Each 'Space' node must contain both the 'ShellGeometry' and 'SpaceBoundary' geometry.
If it contains just one or the other, then the component fails.
I'm not a gbXML expert, but the gbXML schema seems to indicate that all those items are 'optional'.
I believe this issue is fixed. Location is optional now.