Skip to main content
Skip table of contents

get_current_velx(ref)

Features

This function returns the current tool velocity based on the ref coordinate.

Parameters

Parameter Name

Data Type

Default Value

Description

ref

Int

DR_BASE

reference coordinate

  • DR_BASE : base coordinate
  • DR_WORLD : world coordinate

Return

Value

Description

float[6]

Tool velocity

Exception

Exception

Description

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

Example

PY
velx1 = get_current_velx()
# velx1 : velocity based on the base coordinate(default value)
velx2 = get_current_velx(DR_BASE)
# velx2 (=velx1) : velocity based on the base coordinate
velx3 = get_current_velx(DR_WORLD)
#velx3 : velocity based on the world coordinate

Related commands

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.