How to create a list of unavailable objectarx applications

How to create a list of unavailable objectarx applications

maildgess
Participant Participant
1,583 Views
8 Replies
Message 1 of 9

How to create a list of unavailable objectarx applications

maildgess
Participant
Participant

Is there any way to get a list of unavailable objectarx applications using lisp?

 

I'd like to go through a bunch of drawings that we received and create a list of all of the missing object enablers.

 

The proxy information dialog box provides this information but I'd like to batch process a set of drawings and save the information to a file.  This way I can find all the OE's that are needed and deploy them to the users who will be working on the drawings.

0 Likes
1,584 Views
8 Replies
Replies (8)
Message 2 of 9

dgorsman
Consultant
Consultant

I don't think you necessarily want to do it that way.  Not all objects are entities, some are only data attached at the document level.  For example, you can XREF a Civil3D surface model into a vanilla AutoCAD drawing; if the Civil3D OE is installed, AEC data is populated into the host drawing.  When the Civil3D XREF is detached, the AEC data objects will remain in place.  When the drawing is opened in a session without the Civil3D OE it will prompt for it, as even though there are no drawing entities which require it there is data, and there will be no visible difference between the two.  You'll find the same with a number of different products, including some third-party add-ons.

 

Rather than blindly finding OE's, you should review incoming drawings and understand what the content is built with.  Then find the appropriate OE's to install.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes
Message 3 of 9

maildgess
Participant
Participant

Dgorsman, thanks for the info.

 

Here’s the issue:

 

We’re running AutoCAD 2017 which is set to save to 2010 format since many of our clients are still using older versions of AutoCAD. 

 

PROXYNOTICE is set to 1 (Proxy warning is displayed) so users see the proxy information dialog when they open the drawing. 

 

proxyinfo.jpg

 

 

Every time they save the drawing they get the version conflict message:

 

versionconflict.jpg

 

PROXYSHOW is set to 1 (display graphics)

PROXYGRAPHICS  is set to 1 (Saves image with the drawing)

 

I figured that I’d roll out the missing OE’s which should then eliminate these messages.  It would also allow users to see any additional metadata attached to custom entities with graphics.  Users also want the metadata available in Navisworks so it needs the OE's too.

 

I’m seeing a lot of drawings that have Civil3D proxy objects (no graphics).  I’ve also seen a few of them that had text callouts which would not display unless I installed the Civil3D OE, even though AutoCAD was set to show proxy objects.

 

Other drawings are looking for other OE’s such as Plant 3d, AutoCAD Mech, ProStructure, CADWorx, etc.    

 

I seem to remember that at one time there was a setting that would allow AutoCAD to automatically download and install the OE’s as needed but that no longer appears to be an option and could be a security risk.

 

Any other ideas?

 

Thanks Tim

0 Likes
Message 4 of 9

dgorsman
Consultant
Consultant

Saving in the latest DWG format while working should avoid most of this issue.  If clients require an earlier version, you can use DWG Convert to batch-convert entire sets of DWG files to an earlier DWG format as part of the return-to-client process.  Note that for Civil3D (and most likely for AutoCAD Mechanical), while you can downsave the DWG version the application/object version doesn't change i.e. those Civil3D objects are still Civil3D 2017 format, and they cannot be "downsaved" to an earlier version.  That's the gist of the warning dialog.  Also note that is says "objects"; these aren't necessarily drawing entities that you can see, but data attached to the DWG file that could be ignored.

 

I know that CADWorx will only throw an OE warning if there are CADWorx components in the models.  If that is the case, you should distribute the OE if you don't already have the program installed.

 

ProStructures (and AutoPLANT) are one of the things I mentioned earlier - data objects get attached to the drawing regardless if there are drawing entities or not.  There is little you can do to pull out that data, and installing object enablers will just populate default data into every DWG file that's loaded (think REGAPPs or annotation scales, but worse).  As far as I know, ProStructures data doesn't come through directly in Navisworks with only the OE; it only handles rendering the shapes.  If you don't have ProStructures models, don't install it.

 

Are you certain that you have ProStructures, Plant3D, and AutoCAD Mechanical models?

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes
Message 5 of 9

maildgess
Participant
Participant

I have drawings with one or more of those applications showing up in the proxy information dialog.  I don't recall if any of them had visible objects though.  I also didn't write down what drawings had them.  I just noticed it while cleaning up drawings with DGN Linestyles that had propagated between drawings before the patches were rolled out.

 

At this point I'd just like to find out what drawings have proxy objects (no graphics) and do not have any proxy entities (with graphics).  Gilles Chanteau's ZombieKiller app's FINDZOMBIES command will get me the info but there's no way to dump it to a log file so that I can see which drawings have them.

 

As far as the OE's "infecting" other drawings with proxies, have you tested that with the 2017 versions?  I would consider that a bug. 

 

I'm not concerned about the Bentley proxies.  I'm not going to install their OE's.

 

 

0 Likes
Message 6 of 9

maildgess
Participant
Participant

Wow.  I just finished testing the Civil 3D 2017 OE and you are 100% correct.

 

It adds the proxies no matter what you do.  All you have to do is open a drawing with the OE installed and save it.  It will from that point on have the Civil 3D "zombie" proxies.  At least that explains why they're showing up in P&ID drawings.

 

Do you now if Autodesk is aware of this issue?  Are they claiming that it’s a "feature" or is it actually a bug?

 

Some of our clients will not accept drawings that contain proxies (if the notification pops up they reject them even if there are no entities) so I'm definitely not going to be installing any OE's.

 

I found a post on The Swamp that’s related: 

“Proxy & AEC Clean/Remove”

https://www.theswamp.org/index.php?topic=44880.0;all

 

I might be able to modify the code to save the names of drawings that it finds proxies in to a log file.  I was hoping there was a way to find out via LSP/VLA but I can’t find anything other than this.

 

Any other suggestions?

 

Thanks again!

0 Likes
Message 7 of 9

maildgess
Participant
Participant

I opened a case with Autodesk...

 

Civil 3D 2017 Object Enabler is adding unwanted proxy objects when you open and save drawings in AutoCAD 2017 when the enabler is active

0 Likes
Message 8 of 9

dgorsman
Consultant
Consultant

That is considered normal operation - at least, as long as its only data in the drawing and not actual proxy entities in the drawing area.  AEC data is a point of contention among users.  They don't really do anything, so it shouldn't be so difficult to get rid of; on the other hand, they don't really do anything, so there's no valid reason to reject a drawing because of it (especially if you are also providing other files with Civil3D content).

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes
Message 9 of 9

maildgess
Participant
Participant

I tested the Civil 3D and Plant3D object enablers and both of them have issues...

 

Civil 3D 2017 Object Enabler

 

The Civil 3D 2017 Object Enabler is adding unwanted proxy objects when you open and save drawings in AutoCAD 2017 SP1 when the enabler is active.

Steps to reproduce:

1. Verify that PROXYNOTICE is set to 1 (proxy warning is displayed) in AutoCAD 2017.
2. Create a new blank drawing (I used the OOTB acad.dwt) on a PC that has only AutoCAD 2017 SP1 installed (no OE), save the drawing and close it.
3. Open the new drawing on the same PC. Note that the Proxy Information dialog is not shown since the drawing has no proxy objects in it. Close the drawing.
4. Open a drawing with Civil 3D objects in it on the PC with the OE installed and close it (do not close AutoCAD).
5. Open the new drawing on the same PC.
6. Don't make any changes, simply save the drawing and close it.
7. Open the drawing on the PC that has only AutoCAD 2017 SP1 installed.
8. The Proxy Information dialog is displayed which shows the proxy objects that the OE has added to the drawing.

 

The issue only occurs if the OE has been “activated” by opening a drawing with Civil 3D objects. If you restart AutoCAD on the PC with the OE and repeat steps 2 and 3 above, the issue does not occur.

 

Autodesk support has confirmed that this is a defect and has escalated this issue to the development team (the defect ID is CIVIL-18430).  At this time there is no way to "batch remove" the proxy objects.

 

 

Plant 3D 2017 Object Enabler

 

There are two issues which appear to be unrelated:

 

1. The following error occurs when opening a drawing with P3D objects:
Error code (0x2) The system cannot find the file specified.
AcRxDynamicLinker failed to load 'pnpcommonarx.arx'

2. After the drawing loads the Proxy Information dialog indicates that the application pnidobjects is missing.

 

Autodesk support has confirmed this and has escalated this issue to the development team. 

The Plant 3D object enabler is not complete in its scope and does not clear all the proxy data associated to Plant 3D objects as it is supposed to do.

 

 

AutoCAD Mechanical 2017 Object Enabler

 

There isn't one.

0 Likes