Skip to content

Instantly share code, notes, and snippets.

@mechanoboyu
Last active March 4, 2018 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mechanoboyu/3ceb9f79ce45a89a4d3d80515c23cfad to your computer and use it in GitHub Desktop.
Save mechanoboyu/3ceb9f79ce45a89a4d3d80515c23cfad to your computer and use it in GitHub Desktop.
<!-- $BeginBlock scr -->open ${file}.dwg
; ダイアログを出ないようにする
FILEDIA 0
; dxfに変換するコマンドを呼ぶ
dxfout
; ファイル名の指定。
${file}.dxf
; バージョンを指定する
; 任意のバージョンを書く。2000だったら2000とかく。
${ver}
; ダイアログの設定を戻す。
FILEDIA 1
; 図面を閉じる
close
<!-- $EndBlock scr -->
quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment