FBTool Class Reference

FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool FBTool
Inheritance diagram for FBTool:
Inheritance graph
[legend]

List of all members.


Detailed Description

Tool class.

See samples: CloseTool.py, SafeToolCreationExample.py, ToolCommunicationReceiver.py.


Public Member Functions

  FBTool (str pName=None)
  Constructor.
  FBTool (str pName, bool pRegisterTool)
  Constructor used when creating tools not in the Tools menu of Motion Builder.

Public Attributes

int  StartSizeX
  Read Property: Starting Size. This is the initial size in X when the tool is opened. Default = 800
int  StartSizeY
  Read Property: Starting Size. This is the initial size in Y when the tool is opened. Default = 400
int  MaxSizeX
  Read Property: Maximum Size in X (Disabled in this version). A value of -1 means no maximum size.
int  MaxSizeY
  Maximum Size in Y (Disabled in this version). A value of -1 means no maximum size.
int  MinSizeX
  Read Property: Minimum Size in X. A value of -1 means no minimum value.
int  MinSizeY
  Read Property: Minimum Size in Y. A value of -1 means no minimum value.
int  StartPosX
  Read Property: Starting Position in X. This is the initial position when the tool is opened. Default = 450
int  StartPosY
  Read Property: Starting Position in Y. This is the initial position when the tool is opened. Default = 450
str  ToolName
  Read Property: Tool Name

Constructor & Destructor Documentation

FBTool ( str  pName = None  ) 

Constructor.

Parameters:
pName  Name of tool.

FBTool ( str  pName,
bool  pRegisterTool  
)

Constructor used when creating tools not in the Tools menu of Motion Builder.

Parameters:
pName  Name of tool, must be an unique name.
pRegisterTool  Tells if we should register the tool on the toolmanager. You can later call Showtool to pop it.

Member Data Documentation

int StartSizeX

Read Property: Starting Size. This is the initial size in X when the tool is opened. Default = 800

int StartSizeY

Read Property: Starting Size. This is the initial size in Y when the tool is opened. Default = 400

int MaxSizeX

Read Property: Maximum Size in X (Disabled in this version). A value of -1 means no maximum size.

int MaxSizeY

Maximum Size in Y (Disabled in this version). A value of -1 means no maximum size.

int MinSizeX

Read Property: Minimum Size in X. A value of -1 means no minimum value.

int MinSizeY

Read Property: Minimum Size in Y. A value of -1 means no minimum value.

int StartPosX

Read Property: Starting Position in X. This is the initial position when the tool is opened. Default = 450

int StartPosY

Read Property: Starting Position in Y. This is the initial position when the tool is opened. Default = 450

str ToolName

Read Property: Tool Name


Generated on Tue Feb 9 19:34:01 2010 for Python Reference Guide by  doxygen 1.5.3