jan_ek Posted January 18, 2011 Posted January 18, 2011 Hi, I found your site CopyBlockFromDrawing.lsp lisp. Request is as follows: Whether that could be a rewrite of Lisp so that worked in Bricscad. Quote
Lee Mac Posted January 18, 2011 Posted January 18, 2011 Hi, I found your site CopyBlockFromDrawing.lsp lisp.Request is as follows: Whether that could be a rewrite of Lisp so that worked in Bricscad. A generalisation of that code may be found here: http://www.cadtutor.net/forum/showthread.php?56146-Steal-from-Drawing Although, unfortunately I wouldn't know how to make it work in Bricscad having never used that program. Lee Quote
jan_ek Posted January 18, 2011 Author Posted January 18, 2011 Everything good just crashes error Error: Automation Error 80020009; Error accessing [GETINTERFACEOBJECT] method. ErrIndex=0 I asked in other forums I got a reply that is missing in bricscadzie vla-GetInterfaceObject but maybe you have an idea how you'd write it differently. http://www.bricsys.com/bricscad/help/en_US/V10/DevRef/source/Methods_GetInterfaceObject.htm Quote
Guest kruuger Posted January 18, 2011 Posted January 18, 2011 czesc jan_ek i guess you was here: http://forum.cad.pl/do-kojacek-t75961.html#p7658186 you can replace this but i seams that Bricscad still doesn't support DBX functionality nara Quote
Lee Mac Posted January 18, 2011 Posted January 18, 2011 i[t] seams that Bricscad still doesn't support DBX functionality That's a shame - well, in that case, forget about the program I linked you to. Quote
Guest kruuger Posted January 18, 2011 Posted January 18, 2011 Lee One question. What they mean by that: "the ObjectDBX COM interface is currently not available. But it should be possible to create a drawing database and load a dwg file into it, and then to access information from that database." How to "translate" this to lisp? kruuger Quote
Lee Mac Posted January 18, 2011 Posted January 18, 2011 "the ObjectDBX COM interface is currently not available. But it should be possible to create a drawing database and load a dwg file into it, and then to access information from that database." I'm not entirely sure, but it sounds like that is what my code is currently doing: I create an ObjectDBX Document object and open a drawing file using it, then access the information from that drawing. Bit puzzled. Quote
Guest kruuger Posted January 18, 2011 Posted January 18, 2011 I'm not entirely sure, but it sounds like that is what my code is currently doing: I create an ObjectDBX Document object and open a drawing file using it, then access the information from that drawing. Bit puzzled. hmm, it is weird, anyway Thanks Lee kruuger Quote
Lee Mac Posted January 18, 2011 Posted January 18, 2011 No worries Kruuger, thanks for looking into it Quote
jan_ek Posted January 19, 2011 Author Posted January 19, 2011 Thanks for the discussion guys. My question may be ill-formed, should read like this: Is it possible to do this without using ObjectDBX (or command-GetInterfaceObject vla). Because of this probably can not cope Bricscad Quote
Lee Mac Posted January 19, 2011 Posted January 19, 2011 Thanks for the discussion guys. My question may be ill-formed, should readlike this: Is it possible to do this without using ObjectDBX (or command-GetInterfaceObject vla). Because of this probably can not cope Bricscad Not in LISP I shouldn't think Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.