Quantcast
Channel: Grasshopper Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 3658

DrawViewportWires from IGH_PreviewData : is data selected or not?

$
0
0

@lionpeloux wrote:

Hello,

In a custom GH_Type …
GH_CDirectrix : GH_Goo<CDirectrix>, IGH_PreviewData

… I’m implementing a custom preview by overriding:
public void DrawViewportWires(GH_PreviewWireArgs args){}

How can I know If this method is called by a selected component (for instance a list item component) to customize the color of the display ?

I know how to do that within a parameter (Attributes.Selected) display but not in the type itself …

Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 3658

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>