Skip to main content
Skip table of contents

CDRFLEx.set_tool_shape

기능

로봇 제어기에 사전에 등록되어 있는 ToolShape 정보 중 현재 장착된 ToolShape에 대한 정보를 설정하는 함수이다. 현재 장착된 Tool이 없을 경우, 빈 문자열을 전달하면 현재 설정되어 있는 정보가 초기화된다.

해당 함수는 M2.4 버전 이상에서만 사용 가능하다.

인수

인수명자료형기본값설명

strSymbol

string

-

ToolShape 이름

리턴

설명

0

오류

1

성공

예제

PY
Drfl.set_tool_shape(“tool_shape1”) //TP에서 등록된 “tool_shape1”의 정보를 활성화한다.
JavaScript errors detected

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

If this problem persists, please contact our support.