GeneralObject (hwx.inspire.GeneralObject)#
- class GeneralObject(self, **kwds)#
Bases:
GeneralPhysicalGeneralObject class provides the ability to extend the Inspire data model with a custom entity.
This only enables the ability to create new named objects (like Joints, Forces, etc). It does not provide the ability to create your own Parts or Assemblies.
Attribute Table# Name
Type
defaultNamePrefixstrpropertynamespacestrpreviousClassNameslistpropertysingletonboolMethod Table# Name
Description
requireRedraw(self)Marks the object that needs to be redrawn in the graphics window.
- property movable: bool#
Specifies if the object can be moved using the move tool.
If yes then getting/setting the object.position must be implemented.
Can be True, False or a subset of “TX TY TZ RX RY RZ”.
- property redrawWhenUnitsChanged: bool#
Specifies whether the objects gets redrawn when gui units change.
- requireRedraw()#
Marks the object that needs to be redrawn in the graphics window.