Serejah: But how do we get the data back to mxs? This works: ( global PYTHON_RETURN fn CollectOldFiles dir threshold_days: = ( local pyCmd …
With python, going through all 50000 lines of a text file and finding all lines which starts wit “–”, skipping the empty spaces takes 0.086 sec and fi…
If anyone knows how to make regEx to find —– or any other number of – at the beginning of the line – please help. I will try to find the answer to…
Serejah, Denis, Thank you. Using this: ( ::dp_assembly = ( local source = “using System; using System.Text; using System.Collections.Generic; …
The input data is the strToCheck, generated in the maxscript. I pass it without any modifications. dp = dotnetobject “DocProcessor” dp.ProcessDocume…
Thank you. Finally no error when compiling. Here are the times – the code from my first post and the c#: Lines: 48574 Find words 0.294 sec. kappaAr…
This way it does work. Thank you
Thank you. Can’t make it to work. — Compile error: & references only allowed on variables, properties and array indexes It seems that an array …
Thank you. Can this version work if I sent a string, not a txt file?
No errors:
Thank you. I updated the code as you suggested. Then there was errors that ‘var’ can’t be used so I removed the var from the code, and not I have this…
This is the end of the code: source += ” }” csharpProvider = dotnetobject “Microsoft.CSharp.CSharpCodeProvider” compilerParams = dotnetobject “S…
I execute only the code I posted above and there is an error: — Runtime error: .NET runtime exception: Could not load file or assembly ‘file:///C:\U…
Thank you. With my zero C# knowledge this is not compiled at all: ( fn CreateArrAssembly = ( source = “” source += “using System;” source +=…