To bake using a scripting component you have to add the geometry to
the rhino document using context.m_doc, for example:
context.m_doc.AddCurveObject(curve).
(See some examples here: 
http://en.wiki.mcneel.com/default.aspx/McNeel/Rhino4CPlusPlusPlugIns.html)
I wouldn't recommend it thought, since every time grasshopper executes
that component you'll add a new line to the document, potentially
having multiple duplicates.
You can use scripting to create multiply interpolated curves. I think
there is an example of this here: 
http://en.wiki.mcneel.com/default.aspx/McNeel/GrassHopperGallery.html

> besides and maybe improper asking - r u daniel bosia
> from agu?
oh, how rude! No, sorry i'm not that guy.

On Jan 10, 6:28 pm, gotit <[email protected]> wrote:
> it wont work that way. the line will be drawn as one instead of some
> seperate ones. that way it is some sort of looping i guess ... further
> i use it with some complex stuff per 'line' and my computer wont be
> able to handle it all at once... just wondered if it would work with
> the vb component. besides and maybe improper asking - r u daniel bosia
> from agu?
>
> On Jan 10, 5:26 pm, visose <[email protected]> wrote:
>
> > Right know you can bake the resulting lines with one click (well
> > acutally two, select the interpolate component and click the bake
> > button). What exactly do you mean by autobake? You want to bake all
> > the possible values of the the slider?
> > If it is so substituting the slider with a 'series' component.
>
> > On Jan 10, 3:30 pm, gotit <[email protected]> wrote:
>
> > > hey,
>
> > > can someone probably show me how to use the vb.net component to auto-
> > > bake the shifted results? this here is just a simple example but shows
> > > the idea ... in the end i would like all lines baked with just one
> > > click if possible.
>
> > > thx!
>
> > >http://grasshopper3d.googlegroups.com/web/shift-bake.ghx?hl=en&gda=va...
>
>

Reply via email to