나는 Lisp에 익숙하다. datetime 함수를 호출해야합니다. 그러나 나는 데이트 시간을 얻는 것을 고집했다. UTC 사용.AutoLisp - get-universal-time
코드는
(defun C:test()
(system-clock nil (get-universal-time))
)
오류입니다 :
Command: TEST
; error: no function definition: GET-UNIVERSAL-TIME
누구든지 도와 드릴까요? VisualLisp을 사용하고 있습니다.
구성? 사용 가능한 기능을 나열해야합니다. –
AutoLisp에는 날짜 조작 기능이 없습니다. [날짜 (시스템 변수)] (https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-CBB24068- 1653-4753-BE2E-1D0CE9700411-htm.html) 및 [스레드 : DD/MM/YY 형식으로 날짜를 얻는 방법?] (http://forums.augi.com/showthread.php?43041-How- DD-MM-YY 형식으로 날짜를 정하십시오). – crashmstr
P. 'system-clock'도 없습니다. Autodesk 문서 이외의 다른 기능 (예 : 스키마 또는 공용 리스프 기반 라이브러리)을 찾을 수 없습니다. AutoLisp은 매우 차츰 차츰 줄어들고 AutoCAD 객체 작업에 중점을 둡니다. – crashmstr