Am I missing something, I want to automatically reference the geomteries (on my layers) inside grasshopper. I use to do it with Elefront, but I wanted to try new native rhino components.
Is it what the “query object component” is suppose to do ?
Initially I tried using “:” (space colon space) as the separator but results were unsatisfactory as it split on all single space characters. Like this:
I don’t understand why the query layer component does have the "model layer : " before layer name… It would be great to have only the layer name. Is it possible to add this to whichlist ? Or at least adjust the “content info component” to output layer name with sub-layers on the same string.
You have to supply the path details to the query model objects component.
I have been using this method and its working quite well for me. Refer the layer once at the start of the project and you can perfectly detect any object in any layer.
Yes, I realized after I posted that sub layers would fail. That’s because text split fails using multi-letter separators (space colon space). Python fixes that.
This is the single line of Python inside the tSplit component:
a = T.split(C)
Still seems like a lot of trouble…
The Content Details component looks very useful! Not sure yet about Model Layer, I haven’t used the R8 ‘Rhino’ tab features much yet, the word “Model” confuses me.
Any tutorials for this “rhino” section of grasshopper for the basics would be great for beginners . Powerfull features. Some I recognize similar to Elefront plugin.
Simple and pleasant to use with the “item selector component” of human plugin to quickly filter the wanted layer.
There are a number of Guides/Discussion as well as formal documentation, more documentation on Grasshopper components is being built but not yet public.
Still, I think to this day for me the easiest way to import layers and their objects/geometries inside Grasshopper is with Elefront and simple value list. (option B)
Native components to replace what elefront allow is not there (yet).
lag / bug can occur in GH script (with the quiery component) if you add new layers inside Rhino. (the new layers will be added at the end of the query list… unwanted in some cases, like with list item component)
the “update” button that Elefront provide, can avoid unwanted calculations each time you modifiy something inside rhino.
To me this a crucial workflow as the design task need to make quick modifications to the geometry inside rhino and to quickly take this inside grasshopper, and not need to each time reference manually the geometries from rhino inside GH.