pycatia.dnb_human_modeling_interfaces.swk_segment_node¶
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_segment_node.SWKSegmentNode(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSWKSegmentNodeThis interface characterizes a segment node.A segment node is a convenient way to regroup segments. The segment nodes arethe entities that appear under the manikin in the specification tree, and thatregroup segments together (i.e. “Trunk”, “Cervical”, “RightFingers”).- get_segment(pi_index: int) SWKSegment ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetSegment(long piIndex) As SWKSegmentReturns a specific child of the segment node, based on anindex.Parameters:piIndexThe index of the segment to retrieve.The first segment is at index 0.The value of this parameter should not be higher than the number ofsegments on this segment node, minus 1.
- Parameters:
pi_index (int) –
- Return type:
- get_segment_node(pi_index: int) SWKSegmentNode ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetSegmentNode(long piIndex) As SWKSegmentNodeReturns a specific child of the segment node, based on anindex.Parameters:piIndexThe index of the segment node to retrieve.The first segment is at index 0.The value of this parameter should not be higher than the number ofchildren nodes on this segment node, minus 1.
- Parameters:
pi_index (int) –
- Return type:
- mirror_copy_posture() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub MirrorCopyPosture()Copy the posture on the equivalent segment node, on the other side of themanikin. For instance, it copies the posture from the right leg to the leftleg.
- Return type:
None
- property nb_children_nodes: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NbChildrenNodes() As long (Read Only)Returns the number of children segment nodes under this node.
- Return type:
int
- property nb_children_segments: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NbChildrenSegments() As long (Read Only)Returns the number of children segments under this node.
- Return type:
int
- reset_posture() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ResetPosture()Set the posture of all segment under this node back to their defaultposition.
- Return type:
None
- swap_posture() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SwapPosture()Swap the posture with the equivalent segment node, on the other side of themanikin. For instance, the right leg takes the posture of the left leg, andvice versa.
- Return type:
None