Grasshopper

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
e.g.

<Location>
<Name>London</Name>
<Latitude>-0.12750</Latitude>
<Longitude>51.50722</Longitude>
</Location>

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'.

Views: 378

Replies to This Discussion

I believe this issue is fixed.  Location is optional now.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2019   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service