09-01-2026, 09:49 PM
Hello!
I'm trying to move some of my functions and classes from c# code of Script operator to external DLL (because of its hudge size) in order to use that lib as Additional assembly, and have some problems with Matrix3 and Point3 types.
Does anybody know, is there the way to use the types Point3 and Matrix3 in Visual Studio c#? "using Autodesk.Max;" didn't help. Are they the same Point3 and Matrix3 types which are used in MaxScript, or are they tyFlow-specific types just using the same names (I suppose they are)?
Now I use my own types for that, MyPoint3 and MyMatrix3, and do type convertions to and from in Script's code, something like
or
but this is not the best solution at all...
Many thanks in advance!
I'm trying to move some of my functions and classes from c# code of Script operator to external DLL (because of its hudge size) in order to use that lib as Additional assembly, and have some problems with Matrix3 and Point3 types.
Does anybody know, is there the way to use the types Point3 and Matrix3 in Visual Studio c#? "using Autodesk.Max;" didn't help. Are they the same Point3 and Matrix3 types which are used in MaxScript, or are they tyFlow-specific types just using the same names (I suppose they are)?
Now I use my own types for that, MyPoint3 and MyMatrix3, and do type convertions to and from in Script's code, something like
Code:
MyMatrix3 myTm = MyLib.GetMyTM();
Matrix3 tm = Conv( myTm );or
Code:
Matrix3 tm = obj001.GetTM();
MyMatrix3 myTm = Conv( tm );but this is not the best solution at all...
Many thanks in advance!

