Documentation

Support

Asset Transformer SDK


User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK

Core

Python API functions
Read time 40 minutesLast updated a day ago

cloneEntity

Clone an entity.
core.cloneEntity(entity) -> core.Entity
Parameters

Type

Name

Description

EntityentityThe entity to clone.
Returns

Type

Name

Description

EntityclonedEntityThe cloned entity.

configureFunctionLogger

core.configureFunctionLogger(functionName, enableFunction, enableParameters, enableExecutionTime)
Parameters

Type

Name

Description

StringfunctionName
BooleanenableFunction
BooleanenableParameters
BooleanenableExecutionTime

createEntity

Create an entity.
core.createEntity(type) -> core.Entity
Parameters

Type

Name

Description

EntityTypetypeThe type of entity to create.
Returns

Type

Name

Description

EntityentityThe created entity id.

deleteEntities

Delete a set of entities.
core.deleteEntities(entities)
Parameters

Type

Name

Description

EntityListentitiesList of entity to delete.

getEntitiesByType

Get all entities of a given type.
core.getEntitiesByType(type, includeUnsubscribed) -> core.EntityList
Parameters

Type

Name

Description

EntityTypetypeThe type of entities to retrieve.
BooleanincludeUnsubscribedInclude unsubscribed entities.
Returns

Type

Name

Description

EntityListentitiesThe returned entity list.

getRemainingSecondsBeforeLicenseTimeout

Get the seconds left before the app force-closes after the license server is disconnected.
core.getRemainingSecondsBeforeLicenseTimeout() -> core.Double
Returns

Type

Name

Description

Doubletime

resetSession

Clear all the current session (all unsaved work will be lost).
core.resetSession()

unsavedUserChanges

Returns true if the user has made changes to the project.
core.unsavedUserChanges() -> core.Bool
Returns

Type

Name

Description

BoolhasChangedBoolean checking if the project has been modified.

DebugMessage

Desc

getEvent

Get EventDesc of an event.
core.getEvent(moduleName, eventName) -> core.EventDesc
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
StringeventName
Returns

Type

Name

Description

EventDescevent
See also:

getEvents

Get events of a group.
core.getEvents(moduleName, groupName) -> core.EventDescList
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
StringgroupNameTarget group name.
Returns

Type

Name

Description

EventDescListeventDescList
See also:

getFunction

Get FunctionDesc of a function.
core.getFunction(moduleName, functionName) -> core.FunctionDesc
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
StringfunctionNameTarget function name.
Returns

Type

Name

Description

FunctionDescfunctionDesc
See also:

getFunctions

Get functions of a group.
core.getFunctions(moduleName, groupName) -> core.FunctionDescList
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
StringgroupNameTarget group name.
Returns

Type

Name

Description

FunctionDescListfunctions
See also:

getGroup

Get a group desc from a specific module.
core.getGroup(moduleName, groupName) -> core.GroupDesc
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
StringgroupNameTarget group name.
Returns

Type

Name

Description

GroupDescgroup
See also:

getGroups

Get all group desc of a module.
core.getGroups(moduleName) -> core.GroupDescList
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
Returns

Type

Name

Description

GroupDescListgroups
See also:

getModuleTypes

Get TypeDescList from a module name.
core.getModuleTypes(moduleName) -> core.TypeDescList
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
Returns

Type

Name

Description

TypeDescListtypeDescList
See also:

getModules

Get all modules desc.
core.getModules() -> core.ModuleDescList
Returns

Type

Name

Description

ModuleDescListmodules
See also:

getModulesName

Get all modules name.
core.getModulesName() -> core.StringList
Returns

Type

Name

Description

StringListmodulesName
See also:

getType

Get TypeDesc from a type name.
core.getType(moduleName, typeNameStr) -> core.TypeDesc
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
StringtypeNameStrTarget type name.
Returns

Type

Name

Description

TypeDesctypeDesc
See also:

getTypeAttributes

Get attributes TypeDesc from a type name.
core.getTypeAttributes(moduleName, typeNameStr) -> core.StringPairList
Parameters

Type

Name

Description

StringmoduleNameTarget module name.
StringtypeNameStrTarget type name.
Returns

Type

Name

Description

StringPairListattributes
See also:

UI

defineCaptchaCallback

Define a callback function to customize the captha which unlock automated functions in interactive products.
core.defineCaptchaCallback(callback)
Parameters

Type

Name

Description

CaptchaCallbackcallbackThe callback function.

database

entityExists

Returns true if the entity exists.
core.entityExists(entity) -> core.Boolean
Parameters

Type

Name

Description

EntityentityThe wanted entity.
Returns

Type

Name

Description

BooleanexistsTrue if it exists.
See also:

getAllEntities

Returns all the entities on the database.
core.getAllEntities() -> core.EntityList
Returns

Type

Name

Description

EntityListentitiesAll entities.
See also:

getCurrentPiXYZFile

Get current (loaded) Pixyz file path.
core.getCurrentPiXYZFile() -> core.FilePath
Returns

Type

Name

Description

FilePathfileNameThe current Pixyz file.
See also:

getEntityType

Returns the type id of the entity.
core.getEntityType(entity) -> core.EntityType
Parameters

Type

Name

Description

EntityentityThe wanted entity.
Returns

Type

Name

Description

EntityTypetypeType type of the entity.
See also:

getEntityTypeString

Returns the type name of the entity.
core.getEntityTypeString(entity) -> core.String
Parameters

Type

Name

Description

EntityentityThe wanted entity.
Returns

Type

Name

Description

StringtypeName of the entity type.
See also:

getTypeStats

Get the database stats.
core.getTypeStats() -> core.IntListList
Returns

Type

Name

Description

IntListListstats
See also:

isCurrentPiXYZFileModified

Return true, if the current (loaded) file has been modified since last load or save.
core.isCurrentPiXYZFileModified() -> core.Boolean
Returns

Type

Name

Description

BooleanmodifiedTrue if the file is modified.
See also:

load

Load a new scene.
core.load(fileName)
Parameters

Type

Name

Description

FilePathfileNamePath to load the file.
See also:

lockEntityRegistration

Lock Entity registration, use with Caution. All entities created after this call will not be saved on .pxz file and will not be listed as existing entities on the Database. Be careful to not references these entities with other registered entities.
core.lockEntityRegistration()
See also:

save

Save the scene.
core.save(fileName)
Parameters

Type

Name

Description

OutputFilePathfileNamePath to save the file.
See also:

unlockEntityRegistration

Unlock Entity registration.
core.unlockEntityRegistration()
See also:

license

addWantedToken

Add a license token to the list of wanted tokens. The wanted tokens list is saved on disk in program data and is used at initialization. Prefer using 'core.needToken' instead.
core.addWantedToken(tokenName)
Parameters

Type

Name

Description

StringtokenNameWanted token.
See also:

checkLicense

Verifies the validity of the current installed license to ensure compliance and access control.
core.checkLicense() -> core.Boolean
Returns

Type

Name

Description

BooleanvalidA Boolean value indicating whether the current installed license is valid (true) or invalid (false).
See also:

checkWebLogin

Check if authentification on the Web license API is sucessfull.
core.checkWebLogin(login, password) -> core.Boolean
Parameters

Type

Name

Description

StringloginWEB account login.
PasswordpasswordWEB account password.
Returns

Type

Name

Description

Booleanvalid
See also:

configureLicenseServer

Configure the license server to use to get floating licenses.
core.configureLicenseServer(address, port, flexLM=True)
Parameters

Type

Name

Description

StringaddressServer address.
UShortportServer port.
BooleanflexLMEnable FlexLM license server.
See also:

generateActivationCode

Create an activation code to generate an offline license.
core.generateActivationCode(filePath)
Parameters

Type

Name

Description

OutputFilePathfilePathPath to write the activation code.
See also:

generateDeactivationCode

Create an deactivation code to release the license from this machine.
core.generateDeactivationCode(filePath)
Parameters

Type

Name

Description

OutputFilePathfilePathPath to write the deactivation code.
See also:

getCurrentLicenseInfos

Get information on current installed license.
core.getCurrentLicenseInfos() -> core.LicenseInfos
Returns

Type

Name

Description

LicenseInfoslicenseInfos
See also:

getLicenseError

Get errors from license check.
core.getLicenseError() -> core.Boolean, core.String
Returns

Type

Name

Description

Booleanvalid
Stringreasons
See also:

getLicenseServer

Get current license server.
core.getLicenseServer() -> core.String, core.UShort, core.Bool
Returns

Type

Name

Description

StringserverHostServer host name or IP.
UShortserverPortServer port.
BooluseFlexLMSet to true if flexLM server.
See also:

installLicense

Add a new license. You can use either an activation .bin file from the website or a .lic file.
core.installLicense(licensePath, user=False)
Parameters

Type

Name

Description

FilePathlicensePathLicense file path (.bin or .lic).
BooleanuserDecide if the .lic license is installed only for this user or for all users. If false, Pixyz must be configured by running 'PiXYZFinishInstall' utility first (only once).
See also:

listOwnedTokens

Get the list of actually owned license tokens.
core.listOwnedTokens() -> core.StringList
Returns

Type

Name

Description

StringListownedTokensOwned token list.
See also:

listTokens

Get the list of license tokens for this product.
core.listTokens(onlyMandatory=False) -> core.StringList
Parameters

Type

Name

Description

BoolonlyMandatoryIf True, optional tokens will not be returned.
Returns

Type

Name

Description

StringListtokensToken list.
See also:

listWantedTokens

Get the list of license token configured to be requested at initialization.
core.listWantedTokens() -> core.StringList
Returns

Type

Name

Description

StringListtokensToken list.
See also:

needToken

Requests a license token for the current session. This step should be done after configuring license server. Throws an exception if the token is not available.
core.needToken(tokenName)
Parameters

Type

Name

Description

StringtokenNameToken name.
See also:

ownToken

Returns True if we own a token, without requesting it.
core.ownToken(tokenName) -> core.Boolean
Parameters

Type

Name

Description

StringtokenNameToken name.
Returns

Type

Name

Description

BooleanownedTrue if the token is owned.
See also:

releaseToken

Release an optional license token.
core.releaseToken(tokenName)
Parameters

Type

Name

Description

StringtokenNameToken name.
See also:

releaseWebLicense

Release License owned by user WEB account.
core.releaseWebLicense(login, password, id)
Parameters

Type

Name

Description

StringloginWEB account login.
PasswordpasswordWEB account password.
IdentidWEB license id.
See also:

removeWantedToken

Remove a license token from the list of wanted optional tokens.
core.removeWantedToken(tokenName)
Parameters

Type

Name

Description

StringtokenNameUnwanted token.
See also:

requestWebLicense

Request License owned by user WEB account.
core.requestWebLicense(login, password, id)
Parameters

Type

Name

Description

StringloginWEB account login.
PasswordpasswordWEB account password.
IdentidWEB license id.
See also:

retrieveWebLicenses

Retrieves License owned by user WEB account.
core.retrieveWebLicenses(login, password) -> core.WebLicenseInfoList
Parameters

Type

Name

Description

StringloginWEB account login.
PasswordpasswordWEB account password.
Returns

Type

Name

Description

WebLicenseInfoListlicenses
See also:

tokenValid

Returns True if a token is owned by the product, request will be done if missing.
core.tokenValid(tokenName) -> core.Bool
Parameters

Type

Name

Description

StringtokenNameToken name.
Returns

Type

Name

Description

Boolvalid
See also:

parallel

parallelAddJob

Add a job to a parallel session.
core.parallelAddJob(session, jobCallback, dataPtr)
Parameters

Type

Name

Description

ParallelSessionsession
ParallelCallbackjobCallback
PtrdataPtr
See also:

parallelFinish

Ends a parallel session after waiting for all jobs to finish.
core.parallelFinish(session)
Parameters

Type

Name

Description

ParallelSessionsession
See also:

parallelStart

Starts a new parallel session.
core.parallelStart(progression=False, name="Parallel session", jobCount=-1) -> core.ParallelSession
Parameters

Type

Name

Description

BooleanprogressionEnable progression for the parallel session.
StringnameName of the parallel session.
IntjobCountCount of parallel jobs if known (for progression).
Returns

Type

Name

Description

ParallelSessionsession
See also:

plugins

getModuleDescFromXML

Generate a ModuleDesc from an .xml description.
core.getModuleDescFromXML(xmlPath, addToModules=True) -> core.ModuleDesc
Parameters

Type

Name

Description

FilePathxmlPath.xml file path.
BooleanaddToModules
Returns

Type

Name

Description

ModuleDescdescription
See also:

removeModule

Remove a module added via getModuleDescFromXML.
core.removeModule(module)
Parameters

Type

Name

Description

StringmoduleModule name.
See also:

progress

popProgression

Leave current progression level.
core.popProgression()
See also:

pushProgression

Create a new progression level.
core.pushProgression(stepCount, progressName="")
Parameters

Type

Name

Description

IntstepCountStep count.
StringprogressNameName of the progression step.
See also:

stepProgression

Add a step to current progression level.
core.stepProgression(stepCount=1)
Parameters

Type

Name

Description

IntstepCountStep count.
See also:

properties

addCustomProperties

Add multiple custom property to entities that support custom properties.
core.addCustomProperties(entities, names, values=None, types=None)
Parameters

Type

Name

Description

EntityListentitiesEntities that support custom properties.
StringListnamesName of the custom property for each entity.
StringListvaluesValue of the custom property for each entity.
PropertyTypeListtypesType of the custom property for each entity.
See also:

addCustomProperty

Add a custom property to an entity that support custom properties.
core.addCustomProperty(entity, name, value="", type=0)
Parameters

Type

Name

Description

EntityentityAn entity that support custom properties.
StringnameName of the custom property.
StringvalueValue of the custom property.
PropertyTypetypeType of the custom property.
See also:

getModuleProperty

Returns the value of a module property.
core.getModuleProperty(module, propertyName) -> core.String
Parameters

Type

Name

Description

StringmoduleName of the module.
StringpropertyNameThe property name.
Returns

Type

Name

Description

StringpropertyValueThe property value.
See also:

getModulePropertyInfo

Returns the value of a module property.
core.getModulePropertyInfo(module, propertyName) -> core.PropertyInfo
Parameters

Type

Name

Description

StringmoduleName of the module.
StringpropertyNameThe property name.
Returns

Type

Name

Description

PropertyInfopropertyInfoThe property info.
See also:

getProperties

Get the property value on entities (if the property is not set on an entity, defaultValue is returned).
core.getProperties(entities, propertyName, defaultValue="") -> core.StringList
Parameters

Type

Name

Description

EntityListentitiesList of entities.
StringpropertyNameThe property name.
StringdefaultValueDefault value to return if the property does not exist on an entity.
Returns

Type

Name

Description

StringListvaluesProperty value on each entity.
See also:

getProperty

Get a property value as String on an entity (error if the property does not exist on the entity).
core.getProperty(entity, propertyName) -> core.String
Parameters

Type

Name

Description

EntityentityThe entity.
StringpropertyNameThe property name.
Returns

Type

Name

Description

StringvalueThe property value as String.
See also:

getPropertyInfo

Get a property info on an entity (error if the property does not exist on the entity).
core.getPropertyInfo(entity, propertyName) -> core.PropertyInfo
Parameters

Type

Name

Description

EntityentityThe entity.
StringpropertyNameThe property name.
Returns

Type

Name

Description

PropertyInfopropertyInfoThe property info.
See also:

hasCustomProperty

Return true if the custom property was found on the occurrence.
core.hasCustomProperty(entityId, customPropertyName) -> core.Boolean
Parameters

Type

Name

Description

EntityentityIdAn entity that support properties.
StringcustomPropertyNameName of the custom property.
Returns

Type

Name

Description

BooleanpropertyFoundTrue if the enity has the custom propery, else False.
See also:

hasProperty

Return true if the property was found on the occurrence, will not throw any exception except if the entity does not exist.
core.hasProperty(entity, propertyName) -> core.Boolean
Parameters

Type

Name

Description

EntityentityAn entity that support properties.
StringpropertyNameName of the property.
Returns

Type

Name

Description

BooleanpropertyFoundTrue if the entity has the property asked, else False.
See also:

listEnumLabels

Returns the informations of a module property.
core.listEnumLabels(enumType) -> core.EnumPropertyInfo
Parameters

Type

Name

Description

IntenumTypeThe real enum type number (ie. The one return in subtype of PropertyInfo).
Returns

Type

Name

Description

EnumPropertyInfoenumPropertyInfoThe enum property info.
See also:

listModuleProperties

Returns all the properties in the given module.
core.listModuleProperties(module) -> core.PropertyInfoList
Parameters

Type

Name

Description

StringmoduleName of the module.
Returns

Type

Name

Description

PropertyInfoListpropertiesList of module properties info.
See also:

listProperties

Returns the names and values of the properties available on an entity.
core.listProperties(entity) -> core.PropertyInfoList
Parameters

Type

Name

Description

EntityentityEntity to list.
Returns

Type

Name

Description

PropertyInfoListpropertiesList of available properties info.
See also:

listPropertiesBatch

Returns the names and values of the properties available on multiple entities.
core.listPropertiesBatch(entities) -> core.PropertyInfoListList
Parameters

Type

Name

Description

EntityListentitiesEntities to list.
Returns

Type

Name

Description

PropertyInfoListListpropertiesList of available properties info.
See also:

removeCustomProperty

Remove a custom property from an entity that support custom properties.
core.removeCustomProperty(entity, name)
Parameters

Type

Name

Description

EntityentityAn entity that support custom properties.
StringnameName of the custom property.
See also:

restoreModulePropertyDefaultValue

Restore the default value of a module property.
core.restoreModulePropertyDefaultValue(module, propertyName) -> core.String
Parameters

Type

Name

Description

StringmoduleName of the module.
StringpropertyNameThe property name.
Returns

Type

Name

Description

StringvalueThe property value as String.
See also:

setModuleProperty

Set the value of a module property.
core.setModuleProperty(module, propertyName, propertyValue) -> core.String
Parameters

Type

Name

Description

StringmoduleName of the module.
StringpropertyNameThe property name.
StringpropertyValueThe property value.
Returns

Type

Name

Description

StringvalueThe property value as String.
See also:

setProperties

Set multiple properties values on entities.
core.setProperties(entities, propertyNames, propertyValues)
Parameters

Type

Name

Description

EntityListentitiesList of entities.
StringListpropertyNamesThe property name for each entity.
StringListpropertyValuesThe property value for each entity.
See also:

setProperty

Set a property value on an entity.
core.setProperty(entity, propertyName, propertyValue) -> core.String
Parameters

Type

Name

Description

EntityentityThe entity.
StringpropertyNameThe property name.
StringpropertyValueThe property value.
Returns

Type

Name

Description

StringvalueThe property value as String.
See also:

supportCustomProperties

Return true if an entity support custom properties.
core.supportCustomProperties(entity) -> core.Boolean
Parameters

Type

Name

Description

EntityentityAn entity.
Returns

Type

Name

Description

BooleansupportTrue if the entity support custom properties, else False.
See also:

unsetProperty

Unset an entity's property.
core.unsetProperty(entity, propertyName)
Parameters

Type

Name

Description

EntityentityThe entity.
StringpropertyNameThe property name.
See also:

system

availableMemory

Returns available memory.
core.availableMemory() -> core.Long, core.Long, core.Long, core.Long
Returns

Type

Name

Description

LongavailVirtAvailable virtual memory in bytes.
LongtotalVirtTotal virtual memory in bytes.
LongavailPhysAvailable physical memory in bytes.
LongtotalPhysTotal physical memory in bytes.
See also:

checkForUpdates

Check for software update.
core.checkForUpdates() -> core.Bool, core.String, core.String, core.String
Returns

Type

Name

Description

BoolnewVersionAvailableTrue if there is a new version available of this product.
StringnewVersionNew version value.
StringnewVersionLinkLink to download the new version.
StringhtmlInfoHtml info associated with the new version.
See also:

clearOtherTemporaryDirectories

Remove all other session temporary directories (warning: make sure that no other instance of pixyz is running.
core.clearOtherTemporaryDirectories()
See also:

getCustomVersionTag

Get the Pixyz custom version tag.
core.getCustomVersionTag() -> core.String
Returns

Type

Name

Description

StringcustomVersionTag
See also:

getMemoryUsagePeak

Returns the memory usage peak of the current process in MB ( only available on windows yet ).
core.getMemoryUsagePeak() -> core.Long
Returns

Type

Name

Description

LongpeakWorkingSetMaximum physical memory used by the process until now (in MB).
See also:

getPixyzWebsiteURL

Get the Pixyz website URL.
core.getPixyzWebsiteURL() -> core.String
Returns

Type

Name

Description

Stringurl
See also:

getProductName

Get the Pixyz product name.
core.getProductName() -> core.String
Returns

Type

Name

Description

StringproductName
See also:

getTempDirectory

Get the Pixyz temp directory (server side directory in case of remote access).
core.getTempDirectory() -> core.String
Returns

Type

Name

Description

StringtmpDir
See also:

getVersion

Get the Pixyz product version.
core.getVersion() -> core.String
Returns

Type

Name

Description

Stringversion
See also:

setCurrentThreadAsProcessThread

Set the process thread. Use this function when you want to get progress changed callbacks from another thread as the one you initialized Pixyz on.
core.setCurrentThreadAsProcessThread()
See also:

undo/redo

clearUndoRedo

Clear undo/redo history.
core.clearUndoRedo()
See also:

endUndoRedoStep

End current undo/redo step.
core.endUndoRedoStep(deleteIfEmpty=True)
Parameters

Type

Name

Description

BooleandeleteIfEmptyIf True, empty step with no modification will be deleted from the stack at the end.
See also:

getRedoStack

Get the history of actions stack.
core.getRedoStack() -> core.StringList
Returns

Type

Name

Description

StringListredoStack
See also:

getRedoStepUserData

Get user data for undo step #index.
core.getRedoStepUserData(index) -> core.String
Parameters

Type

Name

Description

UIntindex
Returns

Type

Name

Description

StringuserData
See also:

getUndoStack

Get the history of actions stack.
core.getUndoStack() -> core.StringList
Returns

Type

Name

Description

StringListundoStack
See also:

getUndoStepUserData

Get user data for undo step #index.
core.getUndoStepUserData(index) -> core.String
Parameters

Type

Name

Description

UIntindex
Returns

Type

Name

Description

StringuserData
See also:

hasRecordingStep

Has recording step.
core.hasRecordingStep() -> core.Boolean
Returns

Type

Name

Description

BooleanhasRecordingStepTrue if there is recoding step, else False.
See also:

redo

Redo some steps.
core.redo(count=1)
Parameters

Type

Name

Description

UIntcount
See also:

startUndoRedoStep

Start a new undo/redo step.
core.startUndoRedoStep(stepName, userData="")
Parameters

Type

Name

Description

StringstepName
StringuserData
See also:

stopProcess

Stop process (works if there is recording step).
core.stopProcess()
See also:

toggleUndoRedo

Toggle undo/redo.
core.toggleUndoRedo()
See also:

undo

Undo some steps.
core.undo(count=1)
Parameters

Type

Name

Description

UIntcount
See also:

verbose

addConsoleVerbose

Add a console verbose level.
core.addConsoleVerbose(level)
Parameters

Type

Name

Description

VerboselevelVerbose level.
See also:

addLogFileVerbose

Add a log file verbose level.
core.addLogFileVerbose(level)
Parameters

Type

Name

Description

VerboselevelVerbose level.
See also:

addSessionLogFileVerbose

Add a session log file (lastSession{Id}.log) verbose level.
core.addSessionLogFileVerbose(level)
Parameters

Type

Name

Description

VerboselevelVerbose level.
See also:

configureInterfaceLogger

Set new configuration for the Interface Logger.
core.configureInterfaceLogger(enableFunction=True, enableParameters=True, enableExecutionTime=True)
Parameters

Type

Name

Description

BooleanenableFunctionIf true, the called function names will be print.
BooleanenableParametersIf true, the called function parameters will be print (only if enableFunction=true too).
BooleanenableExecutionTimeIf true, the called functions execution times will be print.
See also:

getInterfaceLoggerConfiguration

Get the current Interface Logger configuration.
core.getInterfaceLoggerConfiguration() -> core.Boolean, core.Boolean, core.Boolean
Returns

Type

Name

Description

BooleanfunctionEnabledTrue if the called function names are printed.
BooleanparametersEnabledTrue if the called function parameters are printed.
BooleanexecutionTimeEnabledTrue if the called functions execution times are printed.
See also:

getLogFile

Get the path of the log file.
core.getLogFile() -> core.OutputFilePath
Returns

Type

Name

Description

OutputFilePathpathPath of the log file.
See also:

hasConsoleVerbose

Returns whether a console verbose level is present.
core.hasConsoleVerbose(level) -> core.Bool
Parameters

Type

Name

Description

VerboselevelVerbose level.
Returns

Type

Name

Description

BoolenabledWhether the console verbose level is present.
See also:

log

Log a message to Pixyz output.
core.log(message, level)
Parameters

Type

Name

Description

StringmessageMessage to log.
VerboselevelVerbose level.
See also:

removeConsoleVerbose

Remove a console verbose level.
core.removeConsoleVerbose(level)
Parameters

Type

Name

Description

VerboselevelVerbose level.
See also:

removeLogFileVerbose

Remove a log file verbose level.
core.removeLogFileVerbose(level)
Parameters

Type

Name

Description

VerboselevelVerbose level.
See also:

removeSessionLogFileVerbose

Remove a session log file (lastSession{Id}.log) verbose level.
core.removeSessionLogFileVerbose(level)
Parameters

Type

Name

Description

VerboselevelVerbose level.
See also:

setCoreDumpFile

Set the path of the core dump file that will be written when a crash occurs (default=none).
core.setCoreDumpFile(path)
Parameters

Type

Name

Description

OutputFilePathpathPath of the core dump file.
See also:

setLogFile

Set the path of the log file.
core.setLogFile(path, keepHistory=False)
Parameters

Type

Name

Description

OutputFilePathpathPath of the log file.
BooleankeepHistoryKeep session log history in new log file.
See also: