MAXScript Guide · Chapter 4

The TnpixTool Interface

TnpixTool is a global function interface. It reaches what a property cannot: collider rows, the garment list's layers, painting and the tear brush, pins, material values, caches, Post Process, Rigid and Wrap, threads and the licence. Call a function as TnpixTool.name arg1 arg2.

  • node is the object that carries the modifier, for example $Shirt. The function finds the modifier on its stack.
  • index counts from 0. For materials it is the position among the materials of that kind on the stack, from the top (0 = the first); for collider rows it is the row number printed by rows. The Threads functions are the exception: they count from 1.
  • Functions that change something are undoable where the panel's own gesture is, and they refresh an open panel.
  1. 4.1Simulation
  2. 4.2Collision
  3. 4.3Self Collision
  4. 4.4Channels and the Tear Brush
  5. 4.5Pins
  6. 4.6Material Standard
  7. 4.7Material Advanced
  8. 4.8Cache, Post Process, Rigid and Wrap
  9. 4.9Threads
  10. 4.10Licence