I’m writing a custom loft component and wondering if its possible to reuse the original “Loft Options” component? I’m assuming there is no access to the source code, so it seems there’s no way to get values out of the data. Don’t have too much hope for this one, but maybe there is way.
That class is probably defined in the surface.gha file. So yes, reusing it will be tricky. You may have to resort to some serious reflection, or maybe serialise the data.
@Michael_Pryor Just a regular loft, but splitting the curves beforehand at the tangents, as you have with the Rhino loft command.
@DavidRutten Ok thats what I thought. It would be easy enough to make my own loft options component, but would be nice to avoid that, seeing that my search bar is starting to get cluttered up with duplicate components from different plugins. Do you have any resources on how to serialize for this particular purpose? Not familiar at all with how it works.Thx!
So to clarify, the GUID and the property names used in the InvokeGetter() method are not retrievable unless you have the source code, is that correct? Just wondering if the same principle can be applied to other components in the future.