Skip to main content
Skip table of contents

CDRFLEx.disable_alter_motion

기능

경로 수정 기능을 비활성화 한다.

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

인수

없음

리턴

설명

0

오류

1

성공

예제

PY
DWORD WINAPI ThreadFunc(void *arg){
while(true){
  float pos[6] = {10, 0, 0, 10, 0, 0};
  Drfl.alter_motion(pos);
  }
}
…
int _tmain (int argc, _TCHAR* argv[]){
  HANDLE hThread; 
  DWORD dwThreadID;
  hThread = CreateThread(NULL, 0, ThreadFunc, NULL, 0, &dwThreadID);
  if (hThread == 0) {
    printf("Thread Error\n");
    return 0;
  }
  float limit_dPOS[2] = {50, 90};
  float limit_dPOS_per[2] = {50, 50};
  Drfl.enable_alter_motion(5, PATH_MODE_DPOS, COORDINATE_SYSTEM_BASE, limit_dPOS, limit_dPOS_per);
  Drfl.disable_alter_motion();.
}
JavaScript errors detected

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

If this problem persists, please contact our support.