I'm still trying to find a solution on this.
For the case where I have e.g. 2 boxes that don't touch and I run a combine, the combine will fail.
How can I try/catch this?
Any input welcome!
Thanks for the input!
Here's the code that works:
Set swFeatureMgr = swModel.FeatureManager
Set swFeature = swFeatureMgr.InsertCombineFeature(15903, Nothing, Nothing)
If Not swFeature Is Nothing Then
Before you run the code, check with imodeler if the bodies intersect.