ofer_z
@ofer_z
New Member
Joined: Feb 14, 2024
Topics: 11 / Replies: 188
Reply
RE: maxscript get name of PC

Hi, Have you tried using System.Environment.MachineName in C#? (or in mxs: (dotNetClass “System.Environment”).MachineName ) Cheers, o

13 years ago
Forum
Reply
RE: saving file for 2011 from max 2012

Hi, The parameter name is “saveAsVersion” not saveAsPrevious, so it should be: saveMaxFile newName clearNeedSaveFlag:false saveAsVersion:2011 useNewF…

13 years ago
Forum
Reply
RE: So "return" is no longer slow?

Hi, That’s not exactly true. Return is slower when it is used to break the normal execution, when it is the last command in the function, it doesn’t …

13 years ago
Forum
Reply
RE: Deleting plugin DLLs

Hi Rotem, What you’re trying to do isn’t very safe, since you’re trying to unload plugins that are already in memory, which might cause max to be uns…

14 years ago
Forum
Reply
RE: Get current url from dotnet webbrowser

Hi, system.uri is a dotNet object that represents things like webaddresses. It is not a text object. To convert it to text you can use either wb.toSt…

15 years ago
Forum
Reply
RE: Dotnet Image manipulation?

Hi, If you decide to go the maxscript route, you should check out pasteBitmap instead of get/setPixels. It’s a lot faster and can be used with a func…

15 years ago
Forum
Reply
RE: How to exchange image data via the dotNet clipboard WITH alpha channel?

Hi Martin, It appears the problem is that setClipboardBitmap in max transforms the image into 24bbp image. So you go down to 8 bit per channel and lo…

15 years ago
Forum
Reply
RE: toolStrip width?

Hi Paul, Did you try setting AutoSize to false before setting the size? Cheers, o

15 years ago
Forum
Reply
RE: More than 10 files in MXS editor

Hi, Set the buffers=nn option in MXS_Editor.properties (Tools -> Open Global options file). You will need to reopen the editor (or perhaps max, do…

16 years ago
Forum
Reply
RE: Rotation matrix from 2 vectors

Thanks for the reply, Bobo! Actually, that’s pretty much what I had already (thanks to your matrix dvd ), but I thought I had the math wrong. Guess …

16 years ago
Forum
Topic
Forum
Replies: 2
Views: 15
Reply
RE: struct + RCmenu Bug

Hi Johan, You can use wrapper functions and still access the rollout/rcmenu just as you would if you assigned them directly. Just assign the resultin…

16 years ago
Forum
Reply
RE: instanced controllers created via script not saving…

Hi Steev, I just tested you script in max 2009 and it works on my end, both with a reset scene and without before opening the saved file. [edit] For…

16 years ago
Forum
Reply
RE: Detecting when user right-clicks dotnet tab

Try this: try(destroyDialog ro_test)catch() rollout ro_test “test” ( dotNetControl tabs “TabControl” width:150 height:200 pos:[0,0] on tabs cl…

16 years ago
Forum
Reply
RE: Cloth – cacheFile problem.

Try using: &lt;void&gt;importCache &lt;node&gt;node &lt;string&gt;filename or <void>loadCache <node>node hOpe t…

16 years ago
Forum
Page 2 / 14