Notifications
Clear all

[Closed] Struct as a parameter

Hi,
Is it possible to send an instance of a maxscript struct as a parameter/argument to a .Net method?

3 Replies

if you ask about mxs struct the answer is NO. if it’s c# struct the answer is sure YES .

Im asking about mxs struct.
Do you have some idea on how to transfer struct data to .net assembly? The struct only has properties no functions.
Well my idea is to convert struct to json string, I can do it in maxscript but I want to know if it is possible in .net.

yeah… serialize anyhow… json or your own c# object