Dumping vla functions gives evidence that there are methods exposed by activeX (vla-getpassword, vla-getremotefile, vla-putremotefile, etc), but what object in vlisp from vlax-get-acad-object down are these applicable to?
Dumping vla functions gives evidence that there are methods exposed by activeX (vla-getpassword, vla-getremotefile, vla-putremotefile, etc), but what object in vlisp from vlax-get-acad-object down are these applicable to?Have you tried using the ActiveX/VBA reference? Here's an online version: http://entercad.ru/acadauto.en/
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?
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 :roll:
... Bought the ebook VLisp Developer's Bible last night...
I'm not really a fan of David's work or anything. (http://www.theswamp.org/index.php?topic=39403.0) :lol:
I'm not really a fan of David's work or anything. (http://www.theswamp.org/index.php?topic=39403.0) :lol:
Yup, came across that post, and is the reason I purchased. You mentioned it somewhere else as well, and was like, "It's $7. Just saying." lol.
That spoke to me.
I'm not really a fan of David's work or anything...
Nothing in the reference material for hostapplication services or setworkingdatabase.Well, no you wouldn't find it there. ADesk didn't do a 1 to 1 mapping of the ARX libraries to ActiveX ... not even similar to the DotNet mapping from ARX. Thus you tend to find gaps in the ActiveX/COM libs (especially with newer stuff since it hasn't been updated since around 2006/7).
So am I sol?
I'm not really a fan of David's work or anything...
Haven't read this (http://www.togores.net/autocadexpert) (saw it on linkedin today) but ya'll may be interested.
What I was actually suggesting is to search for the method / property name on that site (or your local copy of the CHM if you have it). Then you would have found the containing object and would much more easily have figured out how to get to them through VLisp.This method you described is the way I expected to discover access to this class, My first external library usage was excel (primary examples from afralisp), then into other registrered classes to emulate tasks that were previously executed in powershell (but needed during a cad session, not to mention the overhead work to get powershell working at the user level).
At this time I'm relying on an extremely simple .net LispFunction to set the workingdatabase to the supplied dbx database being processed before changing attributes values, and then calling the LispFunction again after attribute modification is complete, to set the workingdatabase back to the original database.What you could do is have a separate LispFunction to "open" another DB. This would save the other DB into a private field (set as a List) then return the index of that object in the list.
Haven't read this (http://www.togores.net/autocadexpert) (saw it on linkedin today) but ya'll may be interested.Hi, that's my book. You can get an idea of what it is about by watching my class in AU2012 Virtual http://au.autodesk.com/?nd=au_player#1%0:3202 (http://au.autodesk.com/?nd=au_player#1%0:3202), starting today (November 27).