Chameleon

CHAMELEON

Chameleon is a plugin for both Grasshopper and Revit with a focus on interoperability, simulation, and efficient practice workflows. Chameleon’s main advantage is its ability to facilitate easy transfer of geometric data between Grasshopper and Autodesk Revit, but also includes other valuable tools to make life easier, both in Grasshopper and Revit.

Chameleon gbXML import tip

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

  • up

    Hiroshi Jacobs

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