The new script component in Rhino8 cannot suggest for public Class

The new script component in Rhino8 cannot be proposed for a public or private class in the Custom extension code as a component like in Rhino7 #.


in Rhino7::


in Rhino8:

Auto Suggest.gh (10.0 KB)
@eirannejad @Alain

1 Like

Hi,
This is a known issue that we’re looking into.
Thanks for reporting it.

1 Like

As a workaround you can declare your embedded static class above the RunScript method instead of below it.

1 Like

hi @Alain
i declare my embedded static class above the RunScript method instead of below it. *but it cannot suggest yet!

Crteated Object error.gh (98.8 KB)
hi @Alain
and other bug when created object from c# Script Component:


Hi, you’re trying to call the class as a method instead of calling the mat method

I don’t understand. Can you add an example?
Auto Suggest (n).gh (10.1 KB)

In the 1:03 screencast you type test( instead of test.mat(

thanks very much yes it is worked!
ee
and for bug for Created object from C#(new Script Component) what is your opinion?

RH-77879 is fixed in Rhino 8 Service Release 9

1 Like