3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

set_tool_shape()

정의

set_tool_shape(name)

기능

티치펜던트에 등록된 툴 형상 정보 중에서 입력된 name의 tool 형상을 활성화합니다.

인수

인수명

자료형

기본값

설명

name

string

-

티치펜던트에 등록된 툴 shape 이름

리턴

설명

0

성공

음수값

오류

예외

예외

설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

Python
set_tool_shape("tool_shape1") #TP에서 등록된 "tool_shape1"의 정보를 활성화한다.

관련 명령어

Keyword

set / tool / shape / set_ / set_tool / set_tool_