Author Topic: Part of lisp to find out which AutoCAD vertical is running  (Read 8639 times)

0 Members and 1 Guest are viewing this topic.

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Part of lisp to find out which AutoCAD vertical is running
« Reply #15 on: August 28, 2014, 05:28:59 PM »
A couple of additional thoughts:
- test for loaded ARX files to determine which vertical is running
- test for standard profile name to determine which search paths to use; this would require standardized profile names but should be easy as Jello to implement, plus users don't have to think about the actual profile they are working with
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

zride91

  • Guest
Re: Part of lisp to find out which AutoCAD vertical is running
« Reply #16 on: August 29, 2014, 09:33:54 AM »
Thanks dgorsman!  We've tried the standard profiles in the past, but it didn't work out too well for us, because the way we were driving the profiles were through the shortcuts, but no matter how many times we tell/ask our users to launch the program first, then open files, most of our users just double click on files in Explorer to launch the program which resulted in chaos.  We abandoned the profile model and instead used the acad.lsp to drive everything, this way we know things will be configured correctly no matter how AutoCAD is launched.  As far as the arx testing, this sounds like a good way to configure the Civil 3D as AutoCAD correctly, I will look into it a bit more.

Thank you.