Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5817

GH Python Compiled Component Custom Preview Display

$
0
0

@dadandroid wrote:

Hi

I’ve been compiling GHpython components as instructed in the following post by @piac:

with particular interest in accessing the DrawViewport functionalities for custom display, similar to the C# component.

When I run the script in procedural mode it works like a charm, but when I compile it the resulting component has its preview disabled (grayed out) and there is no way to switch the preview on. I attach a screenshot and the file with the script.

Any Idea why this might be happening? Any help would be much appreciated.

customDisplay.gh (2.5 KB)

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5817

Trending Articles