algorithmic modeling for Rhino
Tags:
Hi Pierre,
you want to draw 3D text in the Rhino viewports from inside a custom component? I assume it's a GHA project written in VB.NET?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
In case you cannot open the attached gh file, I also posted the VB code.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
I wasn't using A, I probably should have removed the output altogether.
I'm not calling the overrides, just as the script itself doesn't call RunScript. The script component calls both the RunScript and preview methods. You can add skeleton preview methods using the button in the top-right corner of the script editor window.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
runCount enumerates the iteration of the RunScript (i.e. how often it has been called) within this solution. It therefore provides an easy way to do something once -and only once- within a single solution. In the Grasshopper SDK this information is provided by IGH_DataAccess.Iteration
The first time the RunScript method is called the runCount equals zero. Then it is incremented every time. There's no way of knowing what the last call to RunScript is going to be.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by