TimHawker
@timhawker
New Member
Joined: Feb 15, 2024
Topics: 9 / Replies: 115
Reply
RE: Open dotNet Form with Maxscript

Make sure that you have removed the params in your constructor, like in the code I posted: public SplineAlignDialog() { global = GlobalInterface….

11 years ago
Forum
Reply
RE: Open dotNet Form with Maxscript

Well, there is no need to send the Iglobal instance because you can grab it through Autodesk.Max.GlobalInterface.Instance. But, if you wanted to send …

11 years ago
Forum
Reply
RE: Open dotNet Form with Maxscript

You are getting the error because the constructor in your class takes one parameter, and you are trying to build it in MaxScript with no params. Use …

11 years ago
Forum
Reply
RE: Open dotNet Form with Maxscript

Call it from a maxscript located in the startup folder. What are you trying to achieve though? If you are trying to show something once 3ds Max has lo…

11 years ago
Forum
Reply
RE: Open dotNet Form with Maxscript

You have to load it as a dotNetObject, with your namespace and class names: myForm = dotNetObject “MyNameSpace.MyClass” myForm.show() –Windows form…

11 years ago
Forum
Reply
RE: dotNetObject "maxCustomControls.win32HandleWrapper" missing in Max 2015?

Thanks for the code lo The only thing I had to change was adding a ‘set;’ in Handle.

11 years ago
Forum
Reply
RE: Tooltips causing windows to be sent behind 3ds Max window

I have managed to find a pretty hacky solution to this problem. Completely disposing the tooltip seems to fix the problem, so using MouseEnter and Mou…

11 years ago
Forum
Topic
Reply
RE: dotNet UI

Exactly right. Both MaxForms and Rollouts do not require any methods to call enable/disableAccellerators. Annoyingly MaxForms also catch any keyboard …

11 years ago
Forum
Reply
RE: DotNet and Window Focus Index

Hmm interesting, cheers for the info Phil. I have never had it happen to a dotNet form directly, but I have had it happen to VRFB and 3ds Max Help wit…

12 years ago
Forum
Reply
RE: DotNet and Window Focus Index

Thanks for the replies, but not it’s not what I’m looking for. Also, even shorter: theFrm = dotNetObject “MaxCustomControls.MaxForm” theFrm.showMode…

12 years ago
Forum
Topic
Forum
Replies: 6
Views: 38
Reply
RE: Where to visualise embedded callbacks?

Search for ‘scriptJob’, it’s a bit more tricky to use than the 3ds Max callback system but once you get your head around it can work well. In maya 2…

12 years ago
Forum
Reply
RE: Viewport Capture

Hey Mike. Hope all is well! Have you tried disposing all the dotNet objects in the struct, undefining it, and then running a garbage collection? gc(…

12 years ago
Forum
Page 1 / 9