2013.06.21 18:32
대안캐드중에 리습이나 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:
Tips: If your VBA contains Classes, modules or forms, please export it in AutoCAD and then import to ZWCAD+.
Tips: You can just replace all "Acad" with "Zcad".
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.
그리고 위에 소개해 놓은 글대로 해도 안됩니다.
단순히 문자 치환 문제가 아니라 적어도 반년이상은 꼼짝없이 매달려야
다른 캐드용으로 만들 수 있으며 제가 그리 할 수는 없는 점 양해바랍니다.