two drawings open, netloaded assy only works in one...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I open a blank 2012 session with drawing1.dwg, then I open a new dwg "drawing2.dwg.
So one session, two blank drawings.
I netload an assy into drawing2, and can run a lispfunction from it.
I netload the the assy into drawing 1, and cannot run the lispfunction.
it says "error: no function definition:..."
How should the checking process normally be done, to see if a .net dll is loaded?
I normally do this with lisp:
(if (not mylispfunctionname)
(progn
(COMMAND "NETLOAD" DLLNAME)
(vl-arx-import 'AcXt-GetColorNoBylayer) ;since I compile to separate namespace vlx's
)
)
The separate namespace thing is secondary, and I am just talking about loading dll's by hand, and running functions from them on command line.
Once I get that ironed out, I can tackle how to detect from inside a vlx.
I saw Kean's post on making a dll to detect what dll's are loaded, but its not even working for me once I have that info.
thx
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

