Ors2DNonPlanarViewManager_4c3363fa0d8211eb858200d861065303

This pluginis used to manage the connection between the shapes and the views.

author:

Nicolas Pcihe

contact:

email:

organization:

address:

copyright:

date:

Oct 13 2020 14:31

dragonflyVersion:

2020.2.0.937 (D)

UUID:

4c3363fa0d8211eb858200d861065303

Class Code

class OrsPythonPlugins.Ors2DNonPlanarViewManager_4c3363fa0d8211eb858200d861065303.Ors2DNonPlanarViewManager_4c3363fa0d8211eb858200d861065303.Ors2DNonPlanarViewManager_4c3363fa0d8211eb858200d861065303(*args, **kwargs)
getState()

This method is called when saving a plugin instance in a session to obtain the information required to set up the plugin at the loading of the session.

The plugin needs to be savable (see ORSServiceClass.OrsPlugin.abstractPlugin.AbstractPlugin.savable).

Return:

a string of information that will be sent back to the setState method

Rtype:

str

Note

The usage of the character " is not permitted, unless escaped.

postLoadSession()

Placeholder for code that needs to get executed when a session is loaded. Note that this method is called at the very end of the process, when the model has been restored, plugins have been instantiated and the workspace has been restored.

setState(state)

This method is called to set up the plugin when loading a session.

Note

This method is called only if the string returned by ORSServiceClass.OrsPlugin.orsPlugin.OrsPlugin.getState() at the saving of the session was not empty.

Parameters:

state (str) – string of information as provided by the getState during the saving of the session