Access to global construction history functionality. More...
#include <pyfbsdk_generated.h>
Public Member Functions | |
FBConstructionHistory () | |
Constructor. More... | |
GetDeltaOperations (FBConstructionOperationArray pOperations, int sinceCommandId=-1) | |
GetDeltaOperations Get the list of delta operations in the construction history. More... | |
GetScriptOutput (str script, str errors) | |
GetScriptOutput Returns the output from the scripting engine. More... | |
FBConstructionHistoryState | GetState () |
GetState returns the current state of the construction history manager. More... | |
NetDelete (FBComponent component, kInt64 key) | |
NetDelete Network delete with support for Network Undo. More... | |
NetUndo (kInt64 key) | |
NetUndo Perform network undo operation. More... | |
int | RunOperation (FBConstructionOperation operation, str out_errors) |
RunOperation Runs an operation. More... | |
![]() | |
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 | |
FBEvent | OnChange |
Event: History changed. More... | |
![]() | |
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... | |
![]() | |
str | ClassGroupName |
ClassGroupName of the object. More... | |
int | TypeInfo |
TypeInfo. More... | |
Access to global construction history functionality.
Constructor.
GetDeltaOperations | ( | FBConstructionOperationArray | pOperations, |
int | sinceCommandId = -1 |
||
) |
GetDeltaOperations Get the list of delta operations in the construction history.
pOperations | Array of operations, will be filled by the function. |
GetScriptOutput Returns the output from the scripting engine.
script | the script text |
errors | the error outputted from the scripting engine |
FBConstructionHistoryState GetState | ( | ) |
GetState returns the current state of the construction history manager.
NetDelete | ( | FBComponent | component, |
kInt64 | key | ||
) |
NetDelete Network delete with support for Network Undo.
key | A key that uniquely identifies the operation |
NetUndo | ( | kInt64 | key | ) |
NetUndo Perform network undo operation.
key | The operation to undo |
int RunOperation | ( | FBConstructionOperation | operation, |
str | out_errors | ||
) |
RunOperation Runs an operation.
operation | The operation to run |
out_errors | A string containing the text of errors generated by running the operations (if any) |
FBEvent OnChange |
Event: History changed.