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 0x41e3328>, '__module__': '__plugins1__.Importomatic.Importomatic17.AssetModule', 'RegisterType': <classmethod object at 0x41e3168>, 'GetAssetType': <staticmethod object at 0x41e31d8>, 'TriggerPostCreateCallback': <classmethod object at 0x41e3440>, 'freeze': <function freeze at 0x41e58c0>, 'TriggerCreateCallback': <classmethod object at 0x41e3408>, '__dict__': <attribute '__dict__' of 'AssetModule' objects>, 'GetHandlerForType': <classmethod object at 0x41e32b8>, 'getEditor': <function getEditor at 0x41e5578>, 'SetAssetType': <staticmethod object at 0x41e3210>, 'GetUtilCallbackNames': <classmethod object at 0x41e3520>, 'RegisterCreateCallback': <classmethod object at 0x41e3360>, 'setItemState': <function setItemState at 0x41e5500>, 'setSecondarySprefVersion': <function setSecondarySprefVersion at 0x41e57d0>, 'GetCreateCallbackNames': <classmethod object at 0x41e33d0>, '_AssetModule__postAddCallbacks': {'Add Alembic': None, 'Add ScenegraphXml': None, 'Add Casting Sheet': None}, 'TriggerBatchCreateCallback': <classmethod object at 0x41e3478>, '_AssetModule__batchAddCallbacks': {'CastingSheet': <function AddCastingSheetCall at 0x42082a8>, 'ScenegraphXml': <function AddScenegraphXmlGeometry at 0x42390c8>, 'Alembic': <function AddAlembicGeometry at 0x41f5398>}, '_AssetModule__typeFactory': {'CastingSheet': <__plugins3__.CastingSheet.CastingSheet.CastingSheetModule object at 0x41e1f90>, 'ScenegraphXml': <__plugins3__.ScenegraphXmlAsset.ScenegraphXmlAsset.ScenegraphXmlModule object at 0x41e1fd0>, 'Alembic': <__plugins3__.AlembicAsset.AlembicAsset.AlembicModule object at 0x4233d90>}, 'setSecondaryItemState': <function setSecondaryItemState at 0x41e5848>, '__doc__': None, 'HasBatchCreateCallback': <classmethod object at 0x41e34b0>, 'thaw': <function thaw at 0x41e5938>, 'SetCustomAssetName': <staticmethod object at 0x41e3280>, 'addToContextMenu': <function addToContextMenu at 0x41e55f0>, 'RegisterBatchCreateCallback': <classmethod object at 0x41e3398>, 'GetCustomAssetName': <staticmethod object at 0x41e3248>, 'GetAllRegisteredHandlers': <classmethod object at 0x41e31a0>, 'GetHandlerForNode': <classmethod object at 0x41e32f0>, 'getPrimarySpref': <function getPrimarySpref at 0x41e5668>, '__weakref__': <attribute '__weakref__' of 'AssetModule' objects>, 'RegisterUtilCallback': <classmethod object at 0x41e34e8>, '_AssetModule__utilCallbacks': {}, 'setPrimarySprefVersion': <function setPrimarySprefVersion at 0x41e56e0>, 'getSecondarySprefList': <function getSecondarySprefList at 0x41e5758>, 'getAssetTreeRoot': <function getAssetTreeRoot at 0x41e59b0>, '_AssetModule__addCallbacks': {'Add Alembic': <function FindAndAddAlembicGeometry at 0x41f5320>, 'Add ScenegraphXml': <function FindAndAddScenegraphXmlGeometry at 0x4239050>, 'Add Casting Sheet': <function FindAndAddCastingSheetCall at 0x4208230>}})¶
-
__module__
= '__plugins1__.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__': '__plugins1__.Importomatic.Importomatic17.AssetModule', 'setAssetId': <function setAssetId at 0x41e5c08>, 'isIgnored': <function isIgnored at 0x41e6050>, 'getAssetId': <function getAssetId at 0x41e5b90>, 'isDraggable': <function isDraggable at 0x41e5b18>, 'canDuplicate': <function canDuplicate at 0x41e6230>, 'getChildren': <function getChildren at 0x41e5cf8>, 'duplicateItem': <function duplicateItem at 0x41e62a8>, 'isSelectable': <function isSelectable at 0x41e5aa0>, '__dict__': <attribute '__dict__' of 'AssetTreeChild' objects>, 'getDefaultOpenState': <function getDefaultOpenState at 0x41e6410>, 'setItemState': <function setItemState at 0x41e5a28>, 'getEditor': <function getEditor at 0x41e5e60>, 'isDeletable': <function isDeletable at 0x41e6140>, 'isVersionSettable': <function isVersionSettable at 0x41e5c80>, 'isIgnorable': <function isIgnorable at 0x41e5f50>, 'getCustomVersionTagNames': <function getCustomVersionTagNames at 0x41e6488>, '__weakref__': <attribute '__weakref__' of 'AssetTreeChild' objects>, 'setIgnored': <function setIgnored at 0x41e60c8>, 'acceptDrop': <function acceptDrop at 0x41e5de8>, '__doc__': None, 'acceptsDrop': <function acceptsDrop at 0x41e5d70>, 'addNodeObservers': <function addNodeObservers at 0x41e6398>, 'getItemKey': <function getItemKey at 0x41e5ed8>, 'addToContextMenu': <function addToContextMenu at 0x41e6320>, 'delete': <function delete at 0x41e61b8>})¶
-
__module__
= '__plugins1__.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)¶
-