I once wrote a component for Embryo that reveals the volatile data type, maybe this will help if you need things that have been wrapped earlier in the process. Seems to work ok:
I was wondering if there was a way to extract the integer that represents each type instead of parsing text name. I guess this is not exposed anywhere.
John Thx. I will check out embryo as soon as I come up for air.
Well no. GUID is a globally unique identifier for an instance of an object. Somewhere there is a class definition for the object. A simple integer can represent the class ID for each geometry type instead of a text string and be exposed. In .net (c#) im not sure its possible to get down to the bare metal in that way tho
I am curious how other GH fans manage to grapple with all the functionality offered by GH plug-ins? Do you d/l every plug-in and systematically go through each module?
I do searches but do not turn up things like this and I certainly dont have time to check out every plug-in
The Package manager has been updated in Rhino 7. By selecting Download and Install, I believe Human should be available to run the Grasshopper definition without a restart.
FilterType is from the Elefront plugin, which I installed at some point to evaluate but never used so I forgot I had it. Apparently it doesnât consider an âUntrimmed Surfaceâ as a Brep. And doesnât accept a list of types on its âTâ (Object Type) input (as a logical âORâ):
As indicated by the tooltip when you mouseover the âTâ input, it is optimized for connecting a Value List, which it populates automagically with the supported choices. Again, it works only as a âDropdown Listâ (single value only!), not as a âCheck Listâ with more than one geometry type selected.
Well ⌠in fact this is a task where you can do any clustering imaginable (flat or nested - real life, with any criteria etc etc) as far as you define a custom class with suitable Properties and then GroupBy some Property (in this case the type of the object).
But all these require code (a very simple one mind).