import lib for script operator
#7
(06-07-2023, 02:29 AM)tyFlow Wrote: Oh sorry it's not Math.Random, it's System.Random (or just Random since the System assembly will be pre-loaded).

https://learn.microsoft.com/en-us/dotnet...ew=net-7.0

Thanks for the link! the built-in functions work properly now.. 
Although there is no really need to use external assembly would be great to know how to do that.. 
i have vs however don't know how to make a reference for 3dsmax..
after trying: 
MathNet.Numerics.Random.SystemRandomSource();
i get:
the type 'System.Random' is defined in an assembly that is not referenced.. Must add a reference to 'System.Runtime, version 5.0.0.0, culture=neutral, publickey.....'
the folder contains versions net461, net48, net5, 6, standard2.0.
besides of this issue the rest is already in the documentation, so it would be great if there is a workaround to import-include this, 
although its big library and would be ideal to get only some parts.. or would be good to know if-how it can be done..
thanks in advance!
  Reply


Messages In This Thread
import lib for script operator - by akis - 05-29-2023, 01:03 PM
RE: import lib for script operator - by tyFlow - 06-03-2023, 02:33 AM
RE: import lib for script operator - by akis - 06-05-2023, 09:30 PM
RE: import lib for script operator - by tyFlow - 06-05-2023, 09:48 PM
RE: import lib for script operator - by akis - 06-06-2023, 07:19 PM
RE: import lib for script operator - by tyFlow - 06-07-2023, 02:29 AM
RE: import lib for script operator - by akis - 06-07-2023, 08:01 AM
RE: import lib for script operator - by tyFlow - 06-07-2023, 01:30 PM
RE: import lib for script operator - by akis - 06-08-2023, 04:56 AM
RE: import lib for script operator - by akis - 06-07-2023, 03:34 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 01:25 PM
RE: import lib for script operator - by akis - 06-08-2023, 03:20 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 03:29 PM
RE: import lib for script operator - by akis - 06-08-2023, 05:28 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 05:35 PM
RE: import lib for script operator - by akis - 06-08-2023, 05:53 PM
RE: import lib for script operator - by akis - 06-08-2023, 08:46 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 09:05 PM
RE: import lib for script operator - by 11paf - 04-24-2024, 08:29 PM

Forum Jump: