Python Reference Guide
FBBox Class Reference

A box is a fundamental building block in the application architecture. More...

Inheritance diagram for FBBox:

Public Member Functions

 FBBox (str pName)
 Constructor. More...
 
bool AnimationNodeDestroy (FBAnimationNode pAnimationNode)
 Destroy an animation node. More...
 
FBAnimationNode AnimationNodeInGet ()
 Get the (IN/OUT) animation node for this box. More...
 
bool AnimationNodeIsUserData (FBAnimationNode pAnimationNode)
 Is the animation node user data? More...
 
FBAnimationNode AnimationNodeOutGet ()
 
str FbxGetObjectSubType ()
 Returns the class sub type inherited by the class of an object, for example: 'Relations', 'Parent-Child', 'Number to Vector', 'Shot'. More...
 
str FbxGetObjectType ()
 Returns the class type inherited by the class of an object, for example: 'Box', 'Constraint', 'TimelineXTrack'. More...
 
FBAnimationNode GetInConnector (int pIndex)
 Get the animation node input associated with the given index. More...
 
int GetInConnectorCount ()
 Get the number of animation node inputs for this box. More...
 
FBAnimationNode GetOutConnector (int pIndex)
 Get the animation node output associated with the given index. More...
 
int GetOutConnectorCount ()
 Get the number of animation node outputs for this box. More...
 
- Public Member Functions inherited from FBComponent
 FBComponent ()
 Constructor. More...
 
str ClassName ()
 Get the class name. More...
 
 DisableObjectFlags (FBObjectFlag pFlags)
 Disable a specific Object Flags. More...
 
 EnableObjectFlags (FBObjectFlag pFlags)
 Enable a specific Object Flags. More...
 
bool FBCreate ()
 Open Reality Creation function. More...
 
 FBDelete ()
 Open Reality deletion function. More...
 
 FBDestroy ()
 Open Reality destruction function. More...
 
FBObjectFlag GetObjectFlags ()
 Get all Object Flags (concatenated). More...
 
bool GetObjectStatus (FBObjectStatus pStatus)
 Check to see if an object status is enabled. More...
 
FBFileReference GetOwnerFileReference (p0)
 Get the owner FileReference object. More...
 
 HardSelect ()
 HardSelect. More...
 
bool HasObjectFlags (FBObjectFlag pFlags)
 Check whether a specific object flag is enabled. More...
 
bool Is (int pTypeId)
 Returns true if object is of type TypeId. More...
 
bool ProcessNamespaceHierarchy (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True)
 ProcessNamespaceHierarchy. More...
 
bool ProcessObjectNamespace (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True)
 ProcessObjectNamespace. More...
 
int PropertyAdd (FBProperty pProperty)
 Add a property to the component's property manager. More...
 
bool PropertyAddReferenceProperty (FBProperty pReferenceProperty)
 Add a reference property to the component's property manager. More...
 
FBProperty PropertyCreate (str pName, FBType pType, str pDataType, bool pAnimatable, bool pIsUser=False, FBProperty pReferenceSource=None)
 Create user or dynamic property. More...
 
 PropertyGetModifiedList (FBArrayTemplate< FB > pPropList, FBPlugModificationFlag pModificationFlags)
 Get list of properties which have been modified since last loading. More...
 
 PropertyRemove (FBProperty pProperty)
 Remove a Property from the component's Property manager. More...
 
 SetObjectFlags (FBObjectFlag pFlags)
 SetObjectFlags. More...
 
 SetObjectStatus (FBObjectStatus pStatus, bool pValue)
 Enable/Disable a specific Object Status. More...
 

Public Attributes

bool Animatable
 Read Write Property: Is the box animatable.
More...
 
bool Live
 Read Write Property: Is live?
More...
 
bool RecordMode
 Read Write Property: Is recording?
More...
 
str UniqueName
 internal Unique name.
More...
 
- Public Attributes inherited from FBComponent
FBListComponent Components
 List: List of components.
More...
 
str LongName
 Read Write Property: Name and namespace for object.
More...
 
str Name
 Read Write Property: Unique name of object. See sample: RemoveSuffixFromNameOfSceneElements.py. More...
 
FBListComponent Parents
 List: Parents.
More...
 
FBManager PropertyList
 Read Only Property: Manages all of the properties for the component.
More...
 
bool Selected
 Read Write Property: Selected property.
More...
 
int TypeInfo
 Contains the Type information of the object.
More...
 
- Public Attributes inherited from FBPlug
str ClassGroupName
 ClassGroupName of the object.
More...
 
int TypeInfo
 TypeInfo.
More...
 

Detailed Description

A box is a fundamental building block in the application architecture.


All animatable elements are derived in some way from the main box class, either by deriving directly or owning a box.

Constructor & Destructor Documentation

◆ FBBox()

FBBox ( str  pName)

Constructor.

Parameters
pNameBox name.

Member Function Documentation

◆ AnimationNodeDestroy()

bool AnimationNodeDestroy ( FBAnimationNode  pAnimationNode)

Destroy an animation node.

Parameters
pAnimationNodeHandle to the animation node to be destroyed.
Returns
true if destruction was successful.

◆ AnimationNodeInGet()

FBAnimationNode AnimationNodeInGet ( )

Get the (IN/OUT) animation node for this box.

Returns
A handle to the animation node for this box.

◆ AnimationNodeIsUserData()

bool AnimationNodeIsUserData ( FBAnimationNode  pAnimationNode)

Is the animation node user data?

Parameters
pAnimationNodeHandle to the animation to be queried.
Returns
true if node is user data.

◆ AnimationNodeOutGet()

FBAnimationNode AnimationNodeOutGet ( )

◆ FbxGetObjectSubType()

str FbxGetObjectSubType ( )

Returns the class sub type inherited by the class of an object, for example: 'Relations', 'Parent-Child', 'Number to Vector', 'Shot'.

Returns
The class sub type inherited by the class of an object.

◆ FbxGetObjectType()

str FbxGetObjectType ( )

Returns the class type inherited by the class of an object, for example: 'Box', 'Constraint', 'TimelineXTrack'.

Returns
The class type inherited by the class of an object.

◆ GetInConnector()

FBAnimationNode GetInConnector ( int  pIndex)

Get the animation node input associated with the given index.

Parameters
pIndexThe animation node input associated with the given index.
Returns
The animation node input, or NULL if the pIndex value is invalid.

◆ GetInConnectorCount()

int GetInConnectorCount ( )

Get the number of animation node inputs for this box.

Returns
The number of animation node inputs for this box.

◆ GetOutConnector()

FBAnimationNode GetOutConnector ( int  pIndex)

Get the animation node output associated with the given index.

Parameters
pIndexThe animation node output associated with the given index.
Returns
The animation node output, or NULL if the pIndex value is invalid.

◆ GetOutConnectorCount()

int GetOutConnectorCount ( )

Get the number of animation node outputs for this box.

Returns
The number of animation node outputs for this box.

Member Data Documentation

◆ Animatable

bool Animatable

Read Write Property: Is the box animatable.

◆ Live

bool Live

Read Write Property: Is live?

◆ RecordMode

bool RecordMode

Read Write Property: Is recording?

◆ UniqueName

str UniqueName

internal Unique name.