TheSwamp
Code Red => VB(A) => Topic started by: Matersammichman on December 11, 2006, 03:13:05 PM
-
Can vba be used to load applications (ARX) into the startup suite? :?
-
Not sure, but I would avoid the startup suite if possible.
Can you just create/append the acad.rx file instead?
-
i agree wth ^
-
i agree wth ^ & ^
-
Where do I find Acad.rx?
-
If it doesn't exist in your ACAD path
.. check with this lisp from the ACAD command line ( findfile "ACAD.RX") ..
you can make it ... just a simple text based file containing the names of the .arx's you want loaded.
eg :
AcVba.arx
mySuperDuperProgram.arx
-
In case you didn't know. you can check for version the load the applicable arx
Application.LoadArx (strYadaYada.arx)
-
Sorry folks, I'm arx illiterate...
1. How do you edit/append an arx file? I didn't think they were readable...
2. Was "RX" correct, or was that supposed to be "ARX"?
3. Can someone give a simple example of writing an Arx file (as a txt file) to load an application when Cad is started (please)?
-
See the attached file (extension appended to allow attachment).
-
...and all I have to do is append the file to the name of the file I want to load, save the file with the extension rx into my support path, and voila?
-
...and all I have to do is append the file to the name of the file I want to load, save the file with the extension rx into my support path, and voila?
Yes.
-
Thanks!
Works perfectly! :-D
One question, what are ARX files created in/with?
-
usually c++ i think
-
One question, what are ARX files created in/with?
ObjectARX is an API for customizing and extending AutoCAD. It provides access to a class-based model of AutoCAD drawings and interactions with the AutoCAD user. There are two related current versions of the API; one is for C++ for native compilation, and the other is for the .NET platform, though AutoCAD objects in the .NET version are not garbage collected.
www.objectarx.com