LispFunction Method?
What is it exactly that you're trying to do with or get from AcDbHostApplicationServices, that you are unable to do via existing LispFunctions?
I want to set/get the workingdatabase :ugly:
It's more of an experiment, in an attempt to use pure lisp (no non-native install external requirements). Well kinda pure. Like tap water in a Voss bottle
Remember my post about trying to modify attributes via dbx, and the problems that arise. It comes down to internal calculations that go into determining the location of a attribute display being only available to the "workingdatabase". I got it to work, but had to use a LispFunction that would set the workingdatabase to the dbx database, perform the attribute modification, and then return the workingdatabase to the active document.
My goal is to eliminate the requirement for .net, and set the workingdatabase from vlisp.Have you tried using the ActiveX/VBA reference? Here's an online version: http://entercad.ru/acadauto.en/
I brain farted last night, and forgot about that (was using local http based help searches). My acad 2012 doesn't have the chm installed. Found 2010 version that has that model reference, not to mention this was handing around
Nothing in the reference material for hostapplication services or setworkingdatabase.
So am I sol?
Thanks Lee, for direct examples. Not being sarcastic. I learn from examples, and now I know exactly what those were for.
Since AcDbHostApplicationServices is not available via vla-, is there a way for VLisp to import the library that defines AcDbHostApplicationServices (is there even a lib available in ActiveX for it)? I've gone in a few directions, and tried importing the type lib for acax18ENU.tlb, and axdb18enu.tlb. Both appear to generate the same function lists, which mirror all of vla- functions.
Looking at .net's references acdbmgd.dll defines the wrapper for it HostApplicationServices, but pretty sure I can't use .net assemblies??? Then trying to track down AcDbHostApplicationServices led me to dbapserv.h. Now we enter C/C++ and I get light headed.
Note: I only discovered you could import a type lib a week ago
Bought the ebook VLisp Developer's Bible last night..., so once again, I find myself in unfamiliar territory.