Ok, but can use on my plugin? You may have a user that don’t have this installed (due many reasons). You may check if is available via version number, but can get complicated if the user has a newer Update Release without this Subscription Release.

Here is a quick & easy approach: check if the new method is indeed available on the API reference loaded on runtime via Reflection. Here is how:

08/04/2015

I was actually looking for a sample of JoinGeometry on the blogs and could not find one, so here it is.

This method, like many others on the API, mimic the UI behavior: it requires 2 elements to join. So the ‘trick’ is find those elements. For this sample, let’s assume we have a model with walls and columns to join. We cannot call join for all walls and columns, it’s a exponential problem. Jeremy wrote a cool sample that help us find intersecting elements, so let’s use it.

Basically just get all Walls, then for each wall, get intersecting Columns (via Bounding Box) and call JoinGeometry for these 2 elements.