Importomatic¶
-
class
ImportomaticAPI.
AssetModule
¶ Bases:
object
-
classmethod
GetAllRegisteredHandlers
()¶
-
static
GetAssetType
(node)¶
-
classmethod
GetCreateCallbackNames
()¶
-
static
GetCustomAssetName
(node, paramName='__importomaticName')¶
-
classmethod
GetHandlerForNode
(node)¶
-
classmethod
GetHandlerForType
(typeName)¶
-
classmethod
GetTypeNames
()¶
-
classmethod
GetUtilCallbackNames
()¶
-
classmethod
HasBatchCreateCallback
(filetype)¶
-
classmethod
RegisterBatchCreateCallback
(filetype, callback)¶
-
classmethod
RegisterCreateCallback
(name, callback, postCallback=None)¶
-
classmethod
RegisterType
(typeName, handler)¶
-
classmethod
RegisterUtilCallback
(name, callback)¶
-
static
SetAssetType
(node, typeName)¶
-
static
SetCustomAssetName
(node, assetName, paramName='__importomaticName')¶
-
classmethod
TriggerBatchCreateCallback
(filetype, node, assetId, locationExpression)¶
-
classmethod
TriggerCreateCallback
(name, node)¶
-
classmethod
TriggerPostCreateCallback
(name, node, nodesAdded)¶
-
__dict__
= dict_proxy({'GetTypeNames': <classmethod object at 0x7f345e4cc7f8>, '__module__': '__plugins0__.Importomatic.Importomatic17.AssetModule', 'RegisterType': <classmethod object at 0x7f345e5210f8>, 'GetAssetType': <staticmethod object at 0x7f345e57a868>, 'TriggerPostCreateCallback': <classmethod object at 0x7f345e4cc910>, 'freeze': <function freeze at 0x7f345e4d3230>, 'TriggerCreateCallback': <classmethod object at 0x7f345e4cc8d8>, '__dict__': <attribute '__dict__' of 'AssetModule' objects>, 'GetHandlerForType': <classmethod object at 0x7f345e4cc788>, 'getEditor': <function getEditor at 0x7f345e4d1e60>, 'SetAssetType': <staticmethod object at 0x7f345e4cc6e0>, 'GetUtilCallbackNames': <classmethod object at 0x7f345e4cc9f0>, 'RegisterCreateCallback': <classmethod object at 0x7f345e4cc830>, 'setItemState': <function setItemState at 0x7f345e4d1de8>, 'setSecondarySprefVersion': <function setSecondarySprefVersion at 0x7f345e4d3140>, 'GetCreateCallbackNames': <classmethod object at 0x7f345e4cc8a0>, '_AssetModule__postAddCallbacks': {'Add Alembic': None, 'Add ScenegraphXml': None, 'Add Casting Sheet': None}, 'TriggerBatchCreateCallback': <classmethod object at 0x7f345e4cc948>, '_AssetModule__batchAddCallbacks': {'CastingSheet': <function AddCastingSheetCall at 0x7f345e4fcc08>, 'ScenegraphXml': <function AddScenegraphXmlGeometry at 0x7f345e4e7758>, 'Alembic': <function AddAlembicGeometry at 0x7f345e500f50>}, '_AssetModule__typeFactory': {'CastingSheet': <__plugins1__.CastingSheet.CastingSheet.CastingSheetModule object at 0x7f345e4d0710>, 'ScenegraphXml': <__plugins1__.ScenegraphXmlAsset.ScenegraphXmlAsset.ScenegraphXmlModule object at 0x7f345e4d0750>, 'Alembic': <__plugins1__.AlembicAsset.AlembicAsset.AlembicModule object at 0x7f345e507150>}, 'setSecondaryItemState': <function setSecondaryItemState at 0x7f345e4d31b8>, '__doc__': None, 'HasBatchCreateCallback': <classmethod object at 0x7f345e4cc980>, 'thaw': <function thaw at 0x7f345e4d32a8>, 'SetCustomAssetName': <staticmethod object at 0x7f345e4cc750>, 'addToContextMenu': <function addToContextMenu at 0x7f345e4d1ed8>, 'RegisterBatchCreateCallback': <classmethod object at 0x7f345e4cc868>, 'GetCustomAssetName': <staticmethod object at 0x7f345e4cc718>, 'GetAllRegisteredHandlers': <classmethod object at 0x7f345e521280>, 'GetHandlerForNode': <classmethod object at 0x7f345e4cc7c0>, 'getPrimarySpref': <function getPrimarySpref at 0x7f345e4d1f50>, '__weakref__': <attribute '__weakref__' of 'AssetModule' objects>, 'RegisterUtilCallback': <classmethod object at 0x7f345e4cc9b8>, '_AssetModule__utilCallbacks': {}, 'setPrimarySprefVersion': <function setPrimarySprefVersion at 0x7f345e4d3050>, 'getSecondarySprefList': <function getSecondarySprefList at 0x7f345e4d30c8>, 'getAssetTreeRoot': <function getAssetTreeRoot at 0x7f345e4d3320>, '_AssetModule__addCallbacks': {'Add Alembic': <function FindAndAddAlembicGeometry at 0x7f345e500ed8>, 'Add ScenegraphXml': <function FindAndAddScenegraphXmlGeometry at 0x7f345e4e76e0>, 'Add Casting Sheet': <function FindAndAddCastingSheetCall at 0x7f345e4fcb90>}})¶
-
__module__
= '__plugins0__.Importomatic.Importomatic17.AssetModule'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
addToContextMenu
(menu, importomaticNode, node)¶
-
freeze
()¶
-
getAssetTreeRoot
(node)¶
-
getEditor
(node, widgetParent)¶
-
getPrimarySpref
(node)¶
-
getSecondarySprefList
(node)¶
-
setItemState
(node, item)¶
-
setPrimarySprefVersion
(node, version)¶
-
setSecondaryItemState
(node, item, index)¶
-
setSecondarySprefVersion
(node, index, version)¶
-
thaw
()¶
-
classmethod
-
class
ImportomaticAPI.
AssetTreeChild
¶ Bases:
object
-
__dict__
= dict_proxy({'__module__': '__plugins0__.Importomatic.Importomatic17.AssetModule', 'setAssetId': <function setAssetId at 0x7f345e4d3578>, 'isIgnored': <function isIgnored at 0x7f345e4d3938>, 'getAssetId': <function getAssetId at 0x7f345e4d3500>, 'isDraggable': <function isDraggable at 0x7f345e4d3488>, 'canDuplicate': <function canDuplicate at 0x7f345e4d3b18>, 'getChildren': <function getChildren at 0x7f345e4d3668>, 'duplicateItem': <function duplicateItem at 0x7f345e4d3b90>, 'isSelectable': <function isSelectable at 0x7f345e4d3410>, '__dict__': <attribute '__dict__' of 'AssetTreeChild' objects>, 'getDefaultOpenState': <function getDefaultOpenState at 0x7f345e4d3cf8>, 'setItemState': <function setItemState at 0x7f345e4d3398>, 'getEditor': <function getEditor at 0x7f345e4d37d0>, 'isDeletable': <function isDeletable at 0x7f345e4d3a28>, 'isVersionSettable': <function isVersionSettable at 0x7f345e4d35f0>, 'isIgnorable': <function isIgnorable at 0x7f345e4d38c0>, 'getCustomVersionTagNames': <function getCustomVersionTagNames at 0x7f345e4d3d70>, '__weakref__': <attribute '__weakref__' of 'AssetTreeChild' objects>, 'setIgnored': <function setIgnored at 0x7f345e4d39b0>, 'acceptDrop': <function acceptDrop at 0x7f345e4d3758>, '__doc__': None, 'acceptsDrop': <function acceptsDrop at 0x7f345e4d36e0>, 'addNodeObservers': <function addNodeObservers at 0x7f345e4d3c80>, 'getItemKey': <function getItemKey at 0x7f345e4d3848>, 'addToContextMenu': <function addToContextMenu at 0x7f345e4d3c08>, 'delete': <function delete at 0x7f345e4d3aa0>})¶
-
__module__
= '__plugins0__.Importomatic.Importomatic17.AssetModule'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
acceptDrop
(dropItem, index)¶
-
acceptsDrop
(dropItem, index)¶
-
addNodeObservers
(callback)¶
-
addToContextMenu
(menu, importomaticNode)¶
-
canDuplicate
()¶
-
delete
()¶
-
duplicateItem
()¶
-
getAssetId
()¶
-
getChildren
()¶
-
getCustomVersionTagNames
()¶
-
getDefaultOpenState
()¶
-
getEditor
(widgetParent)¶
-
getItemKey
()¶
-
isDeletable
()¶
-
isDraggable
()¶
-
isIgnorable
()¶
-
isIgnored
()¶
-
isSelectable
()¶
-
isVersionSettable
()¶
-
setAssetId
(assetId)¶
-
setIgnored
(state)¶
-
setItemState
(item)¶
-