ZWCAD용으로 부탁드립니다.

2013.06.21 18:32

JWL 조회 수:2690

대안캐드중에 리습이나 VBA같은경우 상당히 유사하게 따라와줘서 안에 특정코드만 바꾸면 실행될듯싶은데요.

 

ZW포럼에 올라온글 보다가 아래 혹시 참조되시려나 해서 올려드립니다.

 

개발에 혹시 도움이되실까 올려봅니다.

 

--------------------------------------------------------------------------------------------------------------------------------

 

In AutoCAD, the VBA application is in DVB format which can't be used in ZWCAD+ directly(ZWCAD+ uses ZPVB as the extension of its VBA application),but you can still keep your VBA application in ZWCAD+ with a little modification mentioned below:


  • Copy all codes in Thisdrawing from AutoCAD to ZWCAD+.

    Tips: If your VBA contains Classes, modules or forms, please export it in AutoCAD and then import to ZWCAD+.

  • Change entities type from AcadXXX to ZcadXXX, for example, AcadLayer→ZcadLayer, IAcadLWPolyline→IZcadLWPolyline.

    Tips: You can just replace all "Acad" with "Zcad".

  • Change all the entity declaration from acXXX to zcXXX, for example, acRedzcRed, AcadAcCmColorZcadZcCmColor.

    Tips: Please keep the Objectname the same as that in AutoCAD, such as AcDbLine must be kept.

  • If you use this, please Modify: AcadApplication.GetInterfaceObject("AutoCAD.AcCmColor.16")→ZcadApplication.GetInterfaceObject("ZWCAD.ZcCmColor ").

  • Save your project in ZPVB format and finish the modification.

번호 제목 글쓴이 날짜 조회 수
공지 ★ 드림플러스 질문은 메일 또는 홈페이지에 부탁합니다 ★ 아저씨 2017.05.16 2775
공지 제목이 엉망이면 답변달지 않습니다. [1] 아저씨 2014.04.04 23854
공지 순수 캐드 질문은 고캐드로 아저씨 2013.05.28 68641
공지 질문 답변 게시판을 만들었습니다. 아저씨 2013.02.09 74943
1849 드림 새 버전 설치 후 드림프로그램 관련된 문자나 좌표가 도면상에 표기되지 않습니다. [3] 떠도는하늘 2013.06.21 2875
1848 2012버전 드림사용자입니다 [1] 막내사원 2013.06.21 2366
» ZWCAD용으로 부탁드립니다. [1] JWL 2013.06.21 2690
1846 lisp project 요청 [1] secret 씨엠 2013.06.22 2
1845 active X 관련문의 [2] 차연진 2013.06.22 2259
1844 autodesk land desktop 2005버젼 드림 설치불가인가요? [1] 캐드쟁이 2013.06.24 2243
1843 오토캐드 2014 array이요. [1] 아제요~ 2013.06.24 4280
1842 [AutoCAD 기초] 캐드 옵션 살펴보기 2 - 화면표시----중에서 [1] jwl 2013.06.24 19554
1841 다중플롯으로 출력시 [1] 이지희 2013.06.25 2919
1840 케드 2007을까고 드림을 설치하였습니다 선택한 레이어만 켜기 할려는데..지정되지 않은오류라고 뜨는데.. [1] 김동성 2013.06.25 2993
1839 캐드2010버젼 드림설치후 드림아이콘 크기가 넘 크네요~.아이콘 크기조절가능한가요?^^ [2] 2013.06.25 3692
1838 LP LAYER 특성 변경이 안됩니다. [2] 배관쟁이 2013.06.25 2839
1837 다중플롯 [1] eppooni 2013.06.25 2751
1836 시스템오류 문의 [1] secret SG 2013.06.26 1
1835 드림설치 관련 [1] secret Reira 2013.06.26 1