ofer_z
@ofer_z
New Member
Joined: Feb 14, 2024
Topics: 11 / Replies: 188
Reply
RE: Can a DotNet timer use a struct function for the event handler?

This also works: ( struct struct_myStruct ( fn heyWorld=print “hey world”, fn getFn = heyWorld ) myStruct=struct_myStruct() theTimer = dotN…

16 years ago
Forum
Reply
RE: Teapot has a handle, but does it have a .handle?

From the mxs help: It is safer to say $box01.inode.handle than $box01.handle. This is to prevent cases where the baseobject has property called ha…

16 years ago
Forum
Reply
RE: Wait for Dialog Completion

I’m not sure I understand what you are trying to do, but if you’re using a dialog, you can make it modal. Cheers, o

16 years ago
Forum
Reply
RE: MXS Viewport

Hey Matan, You could also use the #noMap flag of the array copy method. I’m not quite sure about the referencing going on when you do that, as descri…

16 years ago
Forum
Reply
RE: Speeding up a script.

I’ve added some comments, hopefully it will make it a bit more readable. ( — This function returns and array of bitArrays, each holding the — fa…

16 years ago
Forum
Reply
RE: Speeding up a script.

Rorschach is right, the script is not exactly leaking memory, it’s max’s undo buffer that gets filled. Turning off the undo buffer solves this and inc…

16 years ago
Forum
Reply
RE: Speeding up a script.

How about this: Instead of going with the edit_poly modifier, creating a snapshot and converting it to editable poly object, this way you don’t have t…

16 years ago
Forum
Reply
RE: Speeding up a script.

Hi, Try removing the print commands (especially from inside the loop). Prints can slow things down quite a bit. Cheers, o

16 years ago
Forum
Reply
RE: Connecting to a MySQL database, why doesn't it work?

Hi loocas, If this works for you, great! When I tried it, I had no problem connection to MySQL through the ODBC connector. The issue was that some da…

17 years ago
Forum
Reply
RE: Connecting to a MySQL database, why doesn't it work?

Hi, I don’t know what might be the problem. It’s been a while since I last used it, and I don’t have it setup anymore, so I can’t test. However, my f…

17 years ago
Forum
Reply
RE: Connecting to a MySQL database, why doesn't it work?

Hi, I also had issues trying to connect to MySQL with max 8 using ODBC. The main problem is not connecting, but the incomplete values conversion of m…

17 years ago
Forum
Reply
RE: gc() kills Eventhandlers

Hi Dieter, Take a look at dotNetMXSValue in the MXS help. I think this is the instrument maxscript provides to avoid the issue you’re having. cheers…

17 years ago
Forum
Reply
17 years ago
Forum
Reply
RE: How to get values stored in an edittext while using rolloutCreator

( rci = rolloutCreator “myRollouts” “My Rollout” rci.begin() totalLayers = LayerManager.count – 1 rci.addControl #edittext “T” “Text…

17 years ago
Forum
Reply
RE: smart way to create and modify rollouts?

That option is still there, it just doesn’t have a shortcut key anymore. Look at Tools Menu -> Edit Rollout hOpe this helps, o

17 years ago
Forum
Page 4 / 14