pycatia.dnb_human_sim_interfaces.walk_activity

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_sim_interfaces.walk_activity.WalkActivity(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
DMAPSInterfaces.Activity
DNBHumanSimInterfaces.WorkerActivity
WalkActivity
property body_pose: int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property BodyPose() As HTSBodyPoseOptions

Returns or Sets Body Posture option (see HTSBodyPoseOptions for list of
possible values)
Returns:

enum hts_body_pose_options

Return type:

int

get_walk_curve_def_points(i_num_points: int, ad_points: tuple) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetWalkCurveDefPoints(long iNumPoints,
CATSafeArrayVariant adPoints)

This gets the Walk Path definition Point

Parameters:

iNumPoints
Number of Coplanar-Points defining the Walk Path in Plane

adPoints
Point values x1,y1,z1 , x2,y2,z2, …. Area of Plane coordinates
User needs to pass in sufficiently large-sized
array
Parameters:
  • i_num_points (int) –

  • ad_points (tuple) –

Return type:

None

has_part_relation() bool

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func HasPartRelation() As boolean

Returns if there is any PartRelation

Returns:
bFlag TRUE, if there exist any Part-Relation
Return type:

bool

property motion_basis: int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property MotionBasis() As HTSWalkMotionBasis

Returns or Sets Motion-Basis (see HTSWalkMotionBasis for list of possible
values)
Returns:

enum hts_walk_motion_basis

Return type:

int

set_walk_curve_def_points(i_num_points: int, ad_points: tuple) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub SetWalkCurveDefPoints(long iNumPoints,
CATSafeArrayVariant adPoints)

This sets the Walk Path definition Point

Parameters:

iNumPoints
Number of Coplanar-Points defining the Walk Path in Plane

adPoints
Point values x1,y1,z1 , x2,y2,z2, …. Area of Plane
coordinates
Parameters:
  • i_num_points (int) –

  • ad_points (tuple) –

Return type:

None

property stride: int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Stride() As HTSStrideOptions

Returns or Sets Stride option (see HTSStrideOptions for list of possible
values)
Returns:

enum hts_stride_options

Return type:

int

property swing: int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Swing() As HTSSwingOptions

Returns or Sets Swing option (see HTSSwingOptions for list of possible
values)
Returns:

enum hts_swing_options

Return type:

int

update() None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub Update()

This method is the key-method to create children-MoveToPostures for a
created Walk.
This is must be called after setting appropriate values for Walk Activity.
Return type:

None

property user_speed: float

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property UserSpeed() As double

Returns or Sets Speed for Walk Activity
Return type:

float

property user_time: float

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property UserTime() As double

Returns or Sets Time for Walk Activity
Return type:

float

property walk_length: float

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property WalkLength() As double (Read Only)

Returns WalkLength for Walk Activity
Return type:

float