Using delegates in maxscript


#1

Hi,

I want to use this custom dot net control

But to use the TreeListView it needs a delegate to be assigned

this.treeListView.CanExpandGetter = delegate(object x) {
return (x is DirectoryInfo);
};

Is it possible to implement this in maxscript code?


#2

if you can’t understand how someone else’s code works, do not use it!


#3

Thats some advice