NXOpen.UF.Motion.AskVelocityResults

Motion.AskVelocityResults()

Refer to UF_MOTION_ask_velocity_results for documentation.

Signature: AskVelocityResults(motionObject, type, component, refFrame)

Parameters:
  • motionObject (Tag) – The tag of the object to get the results for. This is usually a joint, constraint, coupler, marker, or primitive.
  • type (NXOpen.UF.Motion.MotionType Refer to UF_MOTN_motion_type_e for documentation.) – The velocity type: UF_MOTION_rotation or UF_MOTION_translation.
  • component (NXOpen.UF.Motion.VectorComponent Refer to UF_MOTION_vector_component_e for documentation.) – The desired component of the velocity (Example: UF_MOTION_magnitude or UF_MOTION_x_component).
  • refFrame (NXOpen.UF.Motion.ReferenceFrame Refer to UF_MOTION_reference_frame_e for documentation.) – The reference frame that the results will be resolved in.
Returns:

A Tuple

Return type:

A tuple consisting of (numberOfResults,results)

numberOfResults(int): The number of results returned in the next argument. This will equal the number of steps in the solution.

results(list of float): The results requested. This array must be freed by the calling function using UF_free().

License requirements: None