Author Topic: Startup Suite  (Read 2737 times)

0 Members and 1 Guest are viewing this topic.

Matersammichman

  • Guest
Startup Suite
« on: December 11, 2006, 03:13:05 PM »
Can vba be used to load applications (ARX) into the startup suite? :?

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Startup Suite
« Reply #1 on: December 11, 2006, 03:48:14 PM »
Not sure, but I would avoid the startup suite if possible.

Can you just create/append the acad.rx file instead?

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: Startup Suite
« Reply #2 on: December 11, 2006, 04:14:34 PM »
i agree wth ^
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Startup Suite
« Reply #3 on: December 11, 2006, 04:19:58 PM »
i agree wth ^ & ^
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Matersammichman

  • Guest
Re: Startup Suite
« Reply #4 on: December 11, 2006, 04:34:22 PM »
Where do I find Acad.rx?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Startup Suite
« Reply #5 on: December 11, 2006, 04:58:48 PM »
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
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Bryco

  • Water Moccasin
  • Posts: 1882
Re: Startup Suite
« Reply #6 on: December 11, 2006, 06:46:55 PM »
In case you didn't know. you can check for version the load the applicable arx
Application.LoadArx (strYadaYada.arx)   

Matersammichman

  • Guest
Re: Startup Suite
« Reply #7 on: December 12, 2006, 07:56:48 AM »
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)?

Chuck Gabriel

  • Guest
Re: Startup Suite
« Reply #8 on: December 12, 2006, 08:22:26 AM »
See the attached file (extension appended to allow attachment).

Matersammichman

  • Guest
Re: Startup Suite
« Reply #9 on: December 12, 2006, 08:27:47 AM »
...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?

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Startup Suite
« Reply #10 on: December 12, 2006, 09:00:03 AM »
...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.

Matersammichman

  • Guest
Re: Startup Suite
« Reply #11 on: December 12, 2006, 10:42:46 AM »
Thanks!
Works perfectly! :-D

One question, what are ARX files created in/with?

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: Startup Suite
« Reply #12 on: December 12, 2006, 10:50:24 AM »
usually c++ i think
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

LE

  • Guest
Re: Startup Suite
« Reply #13 on: December 12, 2006, 10:58:28 AM »
One question, what are ARX files created in/with?

Quote
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