06-07-2023, 08:01 AM
(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!