Skip to main content
Skip table of contents

set_tool_shape(name)

Features

This function activates the tool shape information of the entered name among the tool shape information registered in the Teach Pendant.

Parameters

Parameter NameData TypeDefault ValueDescription

name

string

-

Tool name registered in the Teach Pendant

Return

ValueDescription

0

Success

Negative value

Error

Exception

ExceptionDescription

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

PY
set_tool_shape("tool_shape1")  # Activate the geometry of "tool_shape1".

Related commands

JavaScript errors detected

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

If this problem persists, please contact our support.