본문 바로가기
autocad

Automatic ExportLayout

by kmlab 2023. 5. 9.

오토스크립트 사용하기
레빗 시트를 익스포트한 여러장의 캐드 파일(레이아웃 1:1)을 모형 1:1 파일로 변환.

0 준비물) 다음 4가지.

  1. AutoScript for AutoCAD(Freeware) https://kmlab.tistory.com/118
  2. Exportlayout.scr
    (command "exportlayout" "")
  3. Sfd.lsp https://kmlab.tistory.com/116
  4. Sfd.scr
    sfd


1 단계) ExportLayout 자동 실행하기. (레이아웃1:1 -> 시트1:1)

  1. AutoScript 실행
  2. 변환할 캐드파일(레이아웃 1:1) 등록
  3. Exportlayout.scr 등록
  4. RUN
  5. ????-Layout1.dwg (시트1:1) 만들어짐.


2 단계) SFD 자동 실행하기. (시트1:1 -> 모형 1:1)

  1. AutoScript 실행
  2. 변환할 캐드파일(????-Layout1.dwg(시트 1:1)) 등록
  3. Sfd.scr 등록
  4. RUN
  5. ????-Layout1.dwg (모형 1:1) 로 저장됨.

 

 

p.s.) Purge_All.scr: "0" 레이어로 세팅한 다음 퍼지올 스크립트임.
       (command "_.Layer" "s" "0" "" "_.purge" "all" "*" "n") 

 

 

반응형

'autocad' 카테고리의 다른 글

KMPLOT_20230623  (0) 2023.06.23
Update Dimstyle  (0) 2023.06.20
Auto Run Script  (3) 2023.05.09
Modify DimStyle after Export to CAD from Revit  (0) 2023.05.02
To Turn off the Start Tab in AutoCAD  (0) 2023.02.23