orsCreateABoxFromCurrentObjectBoxOrBoundingBox_df18ee80548711e8b181107b441a0862

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2018.
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, managed=True)
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()
closable = True
closeWidget(name)
createAndPublishBox(visualBox)
getObjectName()
keepAlive = False
classmethod menuActionFromObjectBoundingBox(objGUID)
classmethod menuActionFromObjectBox(objectGUID)
classmethod menuItemDefinition1()
classmethod menuItemDefinition2()
multiple = False
classmethod openGUI()
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
savable = False
setBoxName(aName)
setCurrentObject(anObject)
setVisualBoxGUID(aGUID)