coolankur49
@coolankur49
New Member
Joined: Feb 15, 2024
Topics: 4 / Replies: 26
Reply
RE: Send Maxscript commands from External App to 3dsmax

I’ll study what you posted today and will reply once I make something out of it for me.

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

global theString=”” tt = dotnetobject “System.Windows.Forms.Timer” tt.Interval = 1000 Fn BackgroundTcpListenerDoWork s e = ( IPAddress = DotNetClas…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

global theString=”” Fn BackgroundTcpListenerDoWork theSender theEvent = ( IPAddress = DotNetClass “System.Net.IPAddress” theIPAddress = IPAddress.Par…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

Actually we’ve built a program for Maya few years back and still using it in our production env. This program automates most of the tasks and generate…

12 years ago
Forum
Reply
12 years ago
Forum
Reply
RE: How do I check to make sure the current renderer is mental ray?

Just to extend this, if you want to set yor scene renderer to mental ray use this. renderSceneDialog.cancel() screnderers = RendererClass.classes for…

12 years ago
Forum
Reply
RE: Delete modifier by name?

Correct, the exit has to be removed. Also, if there are multiple meshsmooth modifiers applied to any obj then the code will work on first(top) one. P…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

I have attached the source files in my 4th post (exe, exe source, ms) It runs on same machine and it just sends MXS commands to 3dsmax. When I can …

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

What do you suggest, I should use timer or background worker. Besides, socket, is there any other way of sending MXS externally.

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

As denis said and as I think that the real problem is the creation of UI in right thread. denis code tt = dotnetobject “System.Windows.Forms.Timer”…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

This kind of freezing is different from what I am talking about. Here you have to restart 3dsmax, but in my case, I can send the destroydialog comman…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

IPAddress = DotNetClass “System.Net.IPAddress” theIPAddress = IPAddress.Parse “127.0.0.1” theTcpListener = DotNetObject “System.Net.Sockets.TcpListene…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

Wheiraucher: Maybe you could try to use a timer object instead of a backgroundworker+while loop. Gave a try with Timer also, max ui stilll freeze…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

Wheiraucher: If max freezes there’s also the windows.processpostedmessages() command which will breathe back life into max. windows.processposted…

12 years ago
Forum
Reply
RE: Send Maxscript commands from External App to 3dsmax

So, what do you suggest, how do I go about creating dialogs. One more issue is that if I open any native 3dsmax dialog like “max vptconfig” and try t…

12 years ago
Forum
Page 1 / 2