MaxPlusExtend Namespace Reference

MaxPlusExtend Namespace Reference

Module description

This is an extension of MaxPlus, and contains additional classes and functions. Note that though these additions are listed in a separate module here, they exist in the MaxPlus namespace in 3ds Max.

Classes

class  _CustomActionItem
 
class  _NotificationHandler
 
class  ActionFactory
 
class  NotificationManager
 

Functions

def ArrayParameter_GetValue_Typed (self)
 
def ArrayParameter_SetValue_Typed (self, x)
 
def AttachQWidgetToMax
 
def CreateBoolList (list_arg)
 
def CreateIntList (list_arg)
 
def FPTypeGetName (type_id)
 
def FPValue_Get (self)
 
def GetQMaxMainWindow ()
 
def LoadUiType (uiFile)
 
def Parameter_GetValue_Typed (self)
 
def Parameter_SetValue_Typed (self, x)
 

Variables

dictionary FPTypeNames = {}
 
tuple v = getattr(MaxPlus.FPTypeConstants, k)
 

Function Documentation

def MaxPlusExtend.ArrayParameter_GetValue_Typed (   self)
Gets the value from an ArrayParameter as the actual type, not as an FPValue 
def MaxPlusExtend.ArrayParameter_SetValue_Typed (   self,
  x 
)
Sets the value from an ArrayParameter as the actual type, not as an FPValue 
def MaxPlusExtend.AttachQWidgetToMax (   qWidget,
  isModelessDlg = True 
)
Attach a given parentless QWidget by its Qt winId to the win32 3ds max main window.
This is internally done by creating an in-between QWinWidget, which will be child
of the 3d max window, and a parenting of the QWidget to the QWinWidget.
For the given QWidget the 3ds max keyboards accelerators will be disabled when
the widget gets the focus.
By setting isModelessDlg to true, 3ds max will properly disable/enable the QWidget
when another modal 3ds max dialog pops up. 
def MaxPlusExtend.FPTypeGetName (   type_id)
Returns the name associated with the FPValue type, 'unknown' if type not valid. 
def MaxPlusExtend.FPValue_Get (   self)
Returns the value stored in FPValue of the correct type. 
def MaxPlusExtend.GetQMaxMainWindow ( )
Get the top 3ds Max QMainWindow that could be used for parenting your QWidget.
def MaxPlusExtend.LoadUiType (   uiFile)
Pyside "loadUiType" command like PyQt4 has one, so we have to convert the
ui file to py code in-memory first and then execute it in a special frame
to retrieve the form_class.
def MaxPlusExtend.Parameter_GetValue_Typed (   self)
Gets the value from a Parameter as the actual type, not as an FPValue 
def MaxPlusExtend.Parameter_SetValue_Typed (   self,
  x 
)
Sets the value from a Parameter as the actual type, not as an FPValue