algorithmic modeling for Rhino
Hi
using VS2017 and the very helpful template I have developed a C# component for GH which uses another class in the same namespace. This component works.
Now I want to use the very same class in the C# scripting component. I have added the assembly information and the automatic code completion actually "sees" the class, providing information regarding available constructors etc. But the script does not run, there seems to be some access restrictions:
Error (CS0122): Der Zugriff auf 'MyClass' ist aufgrund der Sicherheitsebene nicht möglich.
Help is very much appreciated!
Tags:
that's it, public class ... did the job.
Thanks a lot Tom!
if everything was that easy....
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by