Notifications
Clear all

[Closed] CgTalk Maxscript Challenge 017: "Project Management"

Hi Paul,

If you run register a python class as a com service (see above code) you can call it from max like any other OLE object


  releaseAllOLEObjects()
  obj = createOLEObject("PythonDemo.Utilities")
  obj.SplitString("asd_asd", "_")
  

Any methods you defined in your class you will be able to call provided they have been added to the “public_methods” list.

Hope that helps.

Cheers
Dave

I ‘ve kept this one up for a while as it seemed to be quite popular. Now that things have died down, I will post up a new one this week.

Apologies for the delay! 🙁

Page 3 / 3