Author Topic: Best way to check if object enablers are required  (Read 2028 times)

0 Members and 1 Guest are viewing this topic.

Steve Johnson

  • Newt
  • Posts: 21
Best way to check if object enablers are required
« on: April 02, 2008, 09:00:20 AM »
First post, hello everyone!

In my day job, we're getting drawings that have been drawn using apps like AutoPlant, where things like pipes are objects that don't display properly without an object enabler. We need to store the drawings in lowest-common-denominator plain AutoCAD 2000 format, because the drawings need to be distributable to lots of different companies.

Therefore, I need to check for drawings containing object-enabler-dependent objects using an automated process (I'll actually be adding to a rather complex existing drawing-checking routine in written in LISP). The check will need to work both in plain AutoCAD or any variant (e.g. the verticals), and in AutoCAD or any variant, both with and without the object enablers being present. The routine will need to work in at least AutoCAD 2002 to 2009 inclusive.

Has anyone else been there and done that? What's the best way of detecting such dependencies?

T.Willey

  • Needs a day job
  • Posts: 5213
Re: Best way to check if object enablers are required
« Reply #1 on: April 02, 2008, 11:10:07 AM »
First welcome to theSwamp Steve.

The only way that I have seen it possible to detect if an object enabler is needed, is if there are proxy objects, or zombie objects, within the drawing.  I don't know how to tell which program created them, so as to know which enabler to download though.  Maybe someone who has worked in such areas more, or has a better working knowledge will chime in soon.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

FengK

  • Guest
Re: Best way to check if object enablers are required
« Reply #2 on: April 02, 2008, 12:51:31 PM »
Something like this? (I don't know the entity name pattern for Architectural Desktop, Mechanical Desktop, etc..)

(if (ssget "X" (list (cons 0 "AECC_*")))
  (prompt "\nYou need Civil Object Enabler.")
)


FengK

  • Guest
Re: Best way to check if object enablers are required
« Reply #3 on: April 02, 2008, 12:54:30 PM »
After I posted above, I'm wondering if those objects are named "AECC_*" only if you have object enabler installed. Can someone confirm this? I'd like to avoid uninstalling and reinstalling the object enabler.

Diněsaur

  • Certified Bovine Scat Distributor...I lay it on THICK
  • Needs a day job
  • Posts: 5424
  • But I don't WANT a Day Job
Re: Best way to check if object enablers are required
« Reply #4 on: April 02, 2008, 06:31:16 PM »
Joe Burke spent a great deal of time in THIS THREAD searching for ways to find  these objects for his SUPERFLATTEN program.  Perhaps some of his discoveries will be of use with your project.
Stephen R. Sherrill,
The Diněsaur
Civil 3D Specialist Emeritus

YAY ME !!!  I made it out alive !

Steve Johnson

  • Newt
  • Posts: 21
Re: Best way to check if object enablers are required
« Reply #5 on: April 02, 2008, 08:49:21 PM »
Thank you very much, people!

Krushert

  • Seagull
  • Posts: 13562
  • FREE BEER Tomorrow!!
Re: Best way to check if object enablers are required
« Reply #6 on: April 03, 2008, 07:57:44 PM »
Thank you very much, people!

I just stumbled across this form Autodesk which might be of help.  I don't know if this will fit to what you are trying to do.  It sounds like you can skip the whole checking part and just whack it with this.

Oh and welcome to TheSwamp.
I + XI = X is true ...
... if you change your perspective.