How to Preview On/Off the result from GH components in Human UI?

unhandled

(Sonny Weaver) #1

First of all great job with the development. It’s simply powerful to have a plugin like Human UI.

Dear Sir Heumann I would have 1 question:

I don´t find the way to hide/show the result (per examples) for generic curves from Grasshopper, direct in the UI Windows like the Preview On/Off options from GH.

I apologize if it could be a stupid question!!

Thanks again for the great work!


(Andrew Heumann) #2

You can use metahopper to programmatically control the preview of components - is that what you’re talking about?


(Sonny Weaver) #3

Dear Andrew,

thanks for the quick reply.

I had already tried the Hide/Show Object Preview from Metahooper, but when I try to connect per example a Mesh or a curve to the Object Input, appear always the same error message “Invalid Cast>>DocumentObject”

where am I wrong?


(Andrew Heumann) #4

You need to pass a reference to the component, not connect an object directly. Use one of the “object retrieval” components to get a reference to the component you want to hide/show (e.g. objects in group, object by nickname, get selected objects, get connected objects, etc)


(Sonny Weaver) #5

He was very kind Andrew.

Thanks for all!!!

Best regards and have I nice day.