Notifications
Clear all
[Closed] DotNet and auto conversion
Aug 07, 2007 1:19 pm
DotNet automaticly converts all System.String objects to maxscript String values. However, I want to perform DotNet operations on my string, so how can I avoid this autoconversion?
local s = (dotNetClass “Clipboard”).GetText()
I want s to contain DotNet class, NOT maxscript class.
2 Replies
Aug 07, 2007 1:19 pm
Try :
local mxsString = (dotNetClass "Clipboard").GetText()
local dotNetString = dotNetObject "System.String" mxsString