Tagged 'struct'

Simple XML Library for 3dsMax

27 votes

Hi Everyone,

This is a library that simplifies working with XML files and XML Trees. It wraps the DotNet library's to provide a simpler way to work with XML. It has been kicking around the web on CgTalk and Tech Artists forum for quote a while so I thought I would post here.

It is implemented as to structs XMLDocument for working with XML files and XMLNode which represents a node in XML. It is very easy to use.

In the script at the bottom there is a complete example script documenting how to use it etc.

If you have any feedback or suggestions please let me know.

Cheers,

PolyModOp

5 votes

Say goodbye to scripts that only work with Editable Poly and not Edit Poly modifier. PolyModOp is a MAXScript struct wrapping the Edit Poly methods using the familiar signatures of the polyop methods. That means you check once at the beginning what kind of object you are dealing with, pick either polyop or polymodop, and the rest of the code will be the same as if you were writing it for Editable Poly.

Log Console Zorb

3 votes

This script is a general Log Console to be used by max scripters, a great way to quicly add information logging to your script Once installed you will have access to the LogConsole by creating an instance (you can create as many as you want) by using something like:

foo = ZorbConsole title:"Log A"

You may open the log by using: foo.showme() And write to the log with the AddLog function like so:

foo.AddLog #("test", "I am testing-General", 0)

The Information may then be filtered by verbosity or by the information origin (handy to add what function is sending the log info)

Hierarchy State

31 votes

Hierarchy State

Good for backup/restore scene objects hierarchy

SteelSeries Alerts

2 votes

I have a Rival 500 mouse with tactile alerts so I made this little helper struct to send events to it right from max. After running the script, you can now call ::SteelSeriesAlerts.sendBuzz().