I am working on an export pipeline for realtime applications, to bring the surface information into our own realtime engine or Unreal Engine, for example.
For this I would like to automate the identification of instances as much as possible. This is great if the doc uses blocks, of course, but in a lot of cases the data sets I’ve received don’t use blocks that much. After meshing the contextual information between similar elements is lost, so I’d like to perform some modifications to the document prior to meshing.
For this I would like to identify similar elements based on user feedback, and then automatically turn a selection of objects into instances of blocks. For this I will need to be able to construct the transforms for each object. From a user perspective I’d like to use the transforms which you see when you use the gumball, as that is intuitive.
Is there a way to extract the transform the Gumball is based on from a CRhinoSDKObject, ObjRef or uuid?
I am fine with reconstructing the transform myself if it’s possible to get to the user data.
I hope that makes sense - any help is appreciated!