pycatia.dnb_human_modeling_interfaces.swk_body_element¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.dnb_human_modeling_interfaces.swk_body_element.SWKBodyElement(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSWKBodyElementThis interface is used to access a body element (segment, ellipse,…) It provides common services for all body elements of themanikin.- property full_name: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property FullName() As CATBSTR (Read Only)Returns the full name of the body element.This property is different from the propertyName of AnyObject,which gives the short name or abbreviated nameof the body element.For instance, if the body element in question isthe left leg segment, then property Nameyields “LSLeLe”, whereasproperty FullName yields the characterstring “Left Leg”.
- Return type:
str
- get_global_position(po_global_position: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetGlobalPosition(CATSafeArrayVariantpoGlobalPosition)Returns the global position ofthe body element.If this body element is the body, then the position returnedis the global position of the manikin. If thebody element is a segment or a line of sight, the positionreturned is the global position of the beginning of that segmentor line of sight. If the body element is an ellipse, the globalposition of the center of that ellipse is returned.
- Parameters:
po_global_position (tuple) –
- Return type:
None
- property manikin: SWKManikin¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Manikin() As SWKManikin (Read Only)Returns the manikin which owns this body element.
- Return type:
- property position_x: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property PositionX() As double (Read Only)Returns the x coordinate of the position of the bodyelement.If this body element is the body, then the position returned isthe x-coordinate of global position of the manikin. If thebody element is a segment or a line of sight, the positionreturned is the x-coordinate of the beginning of that segmentor line of sight. If the body element is an ellipse, thex-coordinate of the center of that ellipse is returned.
- Return type:
float
- property position_y: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property PositionY() As double (Read Only)Returns the y coordinate of the position of the bodyelement.If this body element is the body, then the position returned isthe y-coordinate of global position of the manikin. If thebody element is a segment or a line of sight, the positionreturned is the y-coordinate of the beginning of that segmentor line of sight. If the body element is an ellipse, they-coordinate of the center is returned.
- Return type:
float
- property position_z: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property PositionZ() As double (Read Only)Returns the z coordinate of the position of the bodyelement.If this body element is the body, then the position returned isthe z-coordinate of global position of the manikin. If thebody element is a segment or a line of sight, the positionreturned is the z-coordinate of the beginning of that segmentor line of sight. If the body element is an ellipse, thez-coordinate of the center is returned.
- Return type:
float
- refresh_3d() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Refresh3D()Refreshes the 3D representation of the current element.
- Return type:
None
- property refresh_display: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RefreshDisplay() As booleanEnables or disables the update of the display during thescript replay.To improve performance, this update can be temporarilydisabled by setting this property to False in the script.The property is True if the elements display is refreshed after eachposture change (value set by default).Example:This example makes the update of a manikin display disabled during aportion of the script replay.myManikin.Body.RefreshDisplay = False
- Return type:
bool