Preview behavior in GH Script Compiled to GH Components

Hi Guys ( @eirannejad )

I’ve been working on a project for a client where we have compiled using the Script Editor a range of there GH scripts into GH components for use across a range of there applications.

I’ve been given feed back from the client that the GH components created from this process “forget” their preview status when saved and re-opened.

I’ve manage to replicate the problem with a simple version:

Attached is a zip file with the project used in the above video.

The work around is to turn off the preview on ALL of the components code, however you then lose any preview when the component is in use.

Could someone have a look?

Thanks

DK
260703_Preview Issue with compiled GH.zip (60.3 KB)

Just bumping this back up.

Is @eirannejad currently in the office?

Cheers

DK

I often use MetaHopper with one toggle to enable/disable and preview on/off my component preview settings. That way if a certain object preview gets changed, I have the toggle to fall back on.