GroupConnection will treat generated paths differently, but won’t do anything with the output of their parent-assets
this method needs to be reimplemented for every derivate if AbstractConnection. It should return an object, which is able to connect to the software, this derivate is representing and sending over commands and receiving responses.
Returns: | method should return an object, which is already connected to the software. and which can be used for communication with the third party application |
---|---|
Return type: | variant |
this method should disconnect a given connection-object from a third-party application. Method has to be reimplemented for new derivates of AbstractConnection
Parameters: | connection (variant) – connection object, which is currently connected to a third party application. type depends on the type returned by the connectToSoftware instancemethod |
---|---|
Returns: | integer indicating wether the disconnection was successful or not (0 or 1) |
Return type: | integer |
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be closed
please use the addCloseCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be opened
please use the addOpenCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be released
please use the addReleaseCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be saved
please use the addSaveCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be setup
please use the addSetupCmd to append to the list.
MayaToMayaConnection is derived from AbstractConnection and defines the way an Assets hands over its data to another asset edited in Maya
this method needs to be reimplemented for every derivate if AbstractConnection. It should return an object, which is able to connect to the software, this derivate is representing and sending over commands and receiving responses.
Returns: | method should return an object, which is already connected to the software. and which can be used for communication with the third party application |
---|---|
Return type: | variant |
this method should disconnect a given connection-object from a third-party application. Method has to be reimplemented for new derivates of AbstractConnection
Parameters: | connection (variant) – connection object, which is currently connected to a third party application. type depends on the type returned by the connectToSoftware instancemethod |
---|---|
Returns: | integer indicating wether the disconnection was successful or not (0 or 1) |
Return type: | integer |
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be closed
please use the addCloseCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be opened
please use the addOpenCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be released
please use the addReleaseCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be saved
please use the addSaveCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be setup
please use the addSetupCmd to append to the list.
ProjectConnection is derived from GroupConnection and is therefore special as it is the topmost connection in the tree
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be closed
please use the addCloseCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be opened
please use the addOpenCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be released
please use the addReleaseCmd to append to the list.
method has to be reimplemented to generate a list of commands which should be executed in case a scene should be saved
please use the addSaveCmd to append to the list.