Used to access asset manager functionity to get files locally or from a server. More...
Public Member Functions | |
FBAssetMng (str pName) | |
Constructor. More... | |
FBAssetFile | BrowseForFile () |
Let the user browse the asset database to select a file. More... | |
FBAssetFolder | BrowseForFolder () |
Let the user browse the asset database to select a folder. More... | |
bool | CheckAvailability () |
Check if this manager can be used on the computer. More... | |
FBAssetFolder | CreateServerPath (str pServerPath) |
Create a folder path on the server side by adding each missing folders. More... | |
bool | FileIsManaged (str pFilename) |
Is the specified local file managed (ie. More... | |
FBAssetFile | GetAssetFile (str pServerFilename) |
Get a file object using it's server path. More... | |
FBAssetFile | GetAssetFileFromLocalPath (str pLocalFilename) |
Get a file object using it's local path. More... | |
FBAssetFolder | GetAssetFolder (str pServerPath) |
Get a folder object using it's server path. More... | |
FBAssetFolder | GetAssetFolderFromLocalPath (str pLocalPath) |
Get a folder object using it's local path. More... | |
int | GetFileOptions () |
Get the file options (i.e. More... | |
bool | Initialize () |
Initialize the connection to the server. More... | |
str | MapLocalPathToServerPath (str pLocalPath) |
Convert the local path to a server path by using managed paths mapping. More... | |
ShowSettings () | |
Display a dialog that let the user changes settings. More... | |
bool | WithinManagedPath (str pLocalPath) |
Is the specified local path below a managed path. 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 | |
str | Description |
Read Write Property: Description of the manager. More... | |
str | LastError |
Last error string. More... | |
int | MenuFlags |
Read Write Property: Flags specifing which menu items are added by the manager. More... | |
str | Name |
Read Write Property: Unique Name. 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... | |
Used to access asset manager functionity to get files locally or from a server.
FBAssetMng | ( | str | pName | ) |
Constructor.
pName | Name of Command. |
FBAssetFile BrowseForFile | ( | ) |
Let the user browse the asset database to select a file.
FBAssetFolder BrowseForFolder | ( | ) |
Let the user browse the asset database to select a folder.
bool CheckAvailability | ( | ) |
Check if this manager can be used on the computer.
FBAssetFolder CreateServerPath | ( | str | pServerPath | ) |
Create a folder path on the server side by adding each missing folders.
pServerPath | The path to create on the server side. |
Is the specified local file managed (ie.
also present in the database).
pFilename | Path to the file on the local disk. |
FBAssetFile GetAssetFile | ( | str | pServerFilename | ) |
Get a file object using it's server path.
pServerFilename | Path to the file on the server. |
FBAssetFile GetAssetFileFromLocalPath | ( | str | pLocalFilename | ) |
Get a file object using it's local path.
pLocalFilename | Path to the file on the local disk. |
FBAssetFolder GetAssetFolder | ( | str | pServerPath | ) |
Get a folder object using it's server path.
pServerPath | Path the the folder on the server. |
FBAssetFolder GetAssetFolderFromLocalPath | ( | str | pLocalPath | ) |
Get a folder object using it's local path.
pLocalPath | Path to the folder on the local disk. |
int GetFileOptions | ( | ) |
Get the file options (i.e.
what to do when loading, saving or closing managed files).
bool Initialize | ( | ) |
Initialize the connection to the server.
Convert the local path to a server path by using managed paths mapping.
pLocalPath | Local path to be mapped. |
ShowSettings | ( | ) |
Display a dialog that let the user changes settings.
Is the specified local path below a managed path.
pLocalPath | Local path to be checked. |
str Description |
Read Write Property: Description of the manager.
str LastError |
Last error string.
int MenuFlags |
Read Write Property: Flags specifing which menu items are added by the manager.
str Name |
Read Write Property: Unique Name.