orsCreateABoxFromCurrentObjectBoxOrBoundingBox_df18ee80548711e8b181107b441a0862¶
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2021. |
| date: | May 10 2018 15:25 |
| dragonflyVersion: | |
| 3.6.0.470 (D) | |
| UUID: | df18ee80548711e8b181107b441a0862 |
Class Code¶
-
class
OrsPythonPlugins.orsCreateABoxFromCurrentObjectBoxOrBoundingBox_df18ee80548711e8b181107b441a0862.orsCreateABoxFromCurrentObjectBoxOrBoundingBox_df18ee80548711e8b181107b441a0862.orsCreateABoxFromCurrentObjectBoxOrBoundingBox_df18ee80548711e8b181107b441a0862(varname=None)¶ -
classmethod
CreateABoxFromStructuredBox(listSelectedObjectsRepr)¶ Contextual menu.
This code will be executed when a contextual menu has to be displayed.
The menu item instances used in this method should be taken from menu item definitions declared in this plugin and filled with proper values (section, action, enabled, …). If multiple menu items have to be used by this method, they should be defined using the same pattern.
Parameters: listSelectedObjectsRepr – list of selected objects (this argument is given as string representation) Returns: output – None, a single menu item instance, or a list of menu item instances
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
canBeGenericallyOpened= False¶
-
cancel()¶
-
createAndPublishBox(visualBox)¶
-
classmethod
createVisualBoxFromBoundingBoxOfMenuAction(objGUID)¶
-
classmethod
createVisualBoxFromBoxOfMenuAction(objectGUID)¶
-
classmethod
createVisualBoxFromVisualBoxOfMenuAction(objectGUID)¶
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
getObjectName()¶
-
keepAlive= False¶
-
multiple= False¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1, show=True)¶ Instantiates the widget with the provided name. This is done only if it is not already instantiated.
Parameters: - name (str) – name of the widget to instantiate
- dock (str) – docking location in the main window (left, right, top, bottom, center, floating)
- tab (str) – name of the tab to dock in
- x (int) – position of top left corner of window in x. Use -1 for default value.
- y (int) – position of top left corner of window in y. Use -1 for default value.
- w (int) – width of window. Use -1 for default value.
- l (int) – height of window. Use -1 for default value.
- order (int.) – position of widget in docking location. Use -1 to put at the end.
- show (bool) – if
True, the form is also shown after being instantiated. If the form already exists, a “raise” is done. IfFalse, no call to show the form is made.
-
savable= False¶
-
setBoxName(aName)¶
-
setCurrentObject(anObject)¶
-
setVisualBoxGUID(aGUID)¶
-
classmethod