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 0x7f0df8867830>, '__module__': '__plugins0__.Importomatic.Importomatic17.AssetModule', 'RegisterType': <classmethod object at 0x7f0df8867670>, 'GetAssetType': <staticmethod object at 0x7f0df88676e0>, 'TriggerPostCreateCallback': <classmethod object at 0x7f0df8867948>, 'freeze': <function freeze at 0x7f0df8872848>, 'TriggerCreateCallback': <classmethod object at 0x7f0df8867910>, '__dict__': <attribute '__dict__' of 'AssetModule' objects>, 'GetHandlerForType': <classmethod object at 0x7f0df88677c0>, 'getEditor': <function getEditor at 0x7f0df8872500>, 'SetAssetType': <staticmethod object at 0x7f0df8867718>, 'GetUtilCallbackNames': <classmethod object at 0x7f0df8867a28>, 'RegisterCreateCallback': <classmethod object at 0x7f0df8867868>, 'setItemState': <function setItemState at 0x7f0df8872488>, 'setSecondarySprefVersion': <function setSecondarySprefVersion at 0x7f0df8872758>, 'GetCreateCallbackNames': <classmethod object at 0x7f0df88678d8>, '_AssetModule__postAddCallbacks': {'Add Alembic': None, 'Add ScenegraphXml': None, 'Add Casting Sheet': None}, 'TriggerBatchCreateCallback': <classmethod object at 0x7f0df8867980>, '_AssetModule__batchAddCallbacks': {'CastingSheet': <function AddCastingSheetCall at 0x7f0df881d2a8>, 'ScenegraphXml': <function AddScenegraphXmlGeometry at 0x7f0df8883d70>, 'Alembic': <function AddAlembicGeometry at 0x7f0df88265f0>}, '_AssetModule__typeFactory': {'CastingSheet': <__plugins1__.CastingSheet.CastingSheet.CastingSheetModule object at 0x7f0df8871850>, 'ScenegraphXml': <__plugins1__.ScenegraphXmlAsset.ScenegraphXmlAsset.ScenegraphXmlModule object at 0x7f0df8871890>, 'Alembic': <__plugins1__.AlembicAsset.AlembicAsset.AlembicModule object at 0x7f0df8821650>}, 'setSecondaryItemState': <function setSecondaryItemState at 0x7f0df88727d0>, '__doc__': None, 'HasBatchCreateCallback': <classmethod object at 0x7f0df88679b8>, 'thaw': <function thaw at 0x7f0df88728c0>, 'SetCustomAssetName': <staticmethod object at 0x7f0df8867788>, 'addToContextMenu': <function addToContextMenu at 0x7f0df8872578>, 'RegisterBatchCreateCallback': <classmethod object at 0x7f0df88678a0>, 'GetCustomAssetName': <staticmethod object at 0x7f0df8867750>, 'GetAllRegisteredHandlers': <classmethod object at 0x7f0df88676a8>, 'GetHandlerForNode': <classmethod object at 0x7f0df88677f8>, 'getPrimarySpref': <function getPrimarySpref at 0x7f0df88725f0>, '__weakref__': <attribute '__weakref__' of 'AssetModule' objects>, 'RegisterUtilCallback': <classmethod object at 0x7f0df88679f0>, '_AssetModule__utilCallbacks': {}, 'setPrimarySprefVersion': <function setPrimarySprefVersion at 0x7f0df8872668>, 'getSecondarySprefList': <function getSecondarySprefList at 0x7f0df88726e0>, 'getAssetTreeRoot': <function getAssetTreeRoot at 0x7f0df8872938>, '_AssetModule__addCallbacks': {'Add Alembic': <function FindAndAddAlembicGeometry at 0x7f0df8826578>, 'Add ScenegraphXml': <function FindAndAddScenegraphXmlGeometry at 0x7f0df8883cf8>, 'Add Casting Sheet': <function FindAndAddCastingSheetCall at 0x7f0df881d230>}})¶
-
__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 0x7f0df8872b90>, 'isIgnored': <function isIgnored at 0x7f0df8872f50>, 'getAssetId': <function getAssetId at 0x7f0df8872b18>, 'isDraggable': <function isDraggable at 0x7f0df8872aa0>, 'canDuplicate': <function canDuplicate at 0x7f0df88741b8>, 'getChildren': <function getChildren at 0x7f0df8872c80>, 'duplicateItem': <function duplicateItem at 0x7f0df8874230>, 'isSelectable': <function isSelectable at 0x7f0df8872a28>, '__dict__': <attribute '__dict__' of 'AssetTreeChild' objects>, 'getDefaultOpenState': <function getDefaultOpenState at 0x7f0df8874398>, 'setItemState': <function setItemState at 0x7f0df88729b0>, 'getEditor': <function getEditor at 0x7f0df8872de8>, 'isDeletable': <function isDeletable at 0x7f0df88740c8>, 'isVersionSettable': <function isVersionSettable at 0x7f0df8872c08>, 'isIgnorable': <function isIgnorable at 0x7f0df8872ed8>, 'getCustomVersionTagNames': <function getCustomVersionTagNames at 0x7f0df8874410>, '__weakref__': <attribute '__weakref__' of 'AssetTreeChild' objects>, 'setIgnored': <function setIgnored at 0x7f0df8874050>, 'acceptDrop': <function acceptDrop at 0x7f0df8872d70>, '__doc__': None, 'acceptsDrop': <function acceptsDrop at 0x7f0df8872cf8>, 'addNodeObservers': <function addNodeObservers at 0x7f0df8874320>, 'getItemKey': <function getItemKey at 0x7f0df8872e60>, 'addToContextMenu': <function addToContextMenu at 0x7f0df88742a8>, 'delete': <function delete at 0x7f0df8874140>})¶
-
__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)¶
-