David, thanks for your help!

I guess the assemblies just need to be placed in the same Grasshopper
folder; otherwise it you give you the message like this:

---------------------------------------------------------------------------------------------
Script exception: Could not load file or assembly 'ClassLibrary1,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one
of its dependencies. The system cannot find the file specified.
---------------------------------------------------------------------------------------------

without warning (Orange) or Error(Red) color. When I move the assembly
to the grasshopper folder, it just works fine.
Here is the error message:
http://grasshopper3d.googlegroups.com/web/2009-03-30_0919.png?gsc=CIWVggsAAACKcLuxYR5etIdLhzSd6rIh

Also, if you look at the image: I found something weird while using
"Panel" with name, a new feature in this release.
As you can see in the image, the last line is always missing--> just
like the last line is pushed out of the original canvas. I guess the
panel need to adjust its size then?

Last, I have a wish for "Referenced Assemblies". Could you add a
feature to update/change the Referenced Assemblies directly from
"Referenced Assemblies Window".
It will be helpful for assembly development. Since now I have to close
the entire program(Rhino) and flesh out the memory first, I can then
update the assembly in the same place (otherwise the assembly is being
processed by Rhino and there is no way to update it.) .

Thanks for your help again.
michael

On Mar 30, 7:54 am, David Rutten <da...@mcneel.com> wrote:
> Hi Michael,
>
> I tried it and it worked for me (just add a dll and use it's methods/
> classes in the script). But I realised that my dll was located near
> the Grasshopper.rhp file and maybe that's why it worked.
> I'll need to put this through more rigorous testing, but if you could
> post the error messages you get (if any), it'd be most welcome.
>
> --
> David Rutten
> da...@mcneel.com
> Robert McNeel & Associates
>
> On Mar 30, 5:59 am, michael <tsw...@gmail.com> wrote:
>
> > Does anyone try "Referenced Assemblies" successfully?
> > I have tried this feature during the weekend, and no luck on using it.
> > Any hints or comments are appreciated!
> > I am thinking to move additional methods and types from script
> > components to independent assemblies such that I can reused any types
> > and methods created previously without copy and paste them everywhere.
>
> > Thanks, Michael

Reply via email to