Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

.net abstract class usage with IronPython

$
0
0

@ivelin.peychev wrote:

Hi All,

I have a hypothetical/theoretical question:

Could anyone provide a script snippet showing how a .net abstract class is used in IronPython?
How do I use (override) its properties, methods, attributes?
Basically explaining this topic if possible in plain text.

Much obliged!

UPDATE:
Also getset_descriptors.
I always get TypeErrors when I try to use Abstract Class and getset_descriptors.

TypeError('Cannot create instances of SomeClass because it is abstract)
TypeError(‘getset_descriptor is not callable’,))
when I try SomeClass.__new__(OtherClass) I get TypeError(OtherClass does not define any public constructors)
etc.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles