Once you have built and packaged your Object Enabler, make sure it functions properly and does not corrupt drawing files before posting it for your users. For testing, you need a drawing file that contains all your custom objects, and the PROXYNOTICE system variable should be set to 1.
Follow these general test procedures
- Before you begin, remove any previous versions of the Object Enablers from your system.
- Perform all tests on all supported operating systems.
- Test your Object Enabler with a variety of RealDWG host applications such as AutoCAD®, DWG TrueView™ , AutoCAD® Architecture, and AutoCAD®Mechanical.
To install your Object Enabler
You are required to create an MSI package file to register your Object Enabler. For more information, see “Create an Installation Program” in the OEM Developer’s Guide.
To test the functionality of your Object Enabler
- Make sure that the Object Enabler functions without any AutoCAD dependencies (such as the AutoCAD editor, editor reactors, and so on).
- Confirm that AutoCAD and other RealDWG host applications can open and close properly after the Object Enabler is loaded.
- Open a test drawing that contains all the custom objects supported by the Object Enabler, with the PROXYNOTICE system variable set to 1. Make sure that the Proxy dialog box does not display for the enabled custom objects on the first or subsequent times you open the file.
- With the Object Enabler loaded, INSERT the test drawing.
- Attach it, XREF Reload it, and access it in DesignCenter™ . A proxy warning should not display.
- Remove the registry key, the Object Enabler, and both the registry key and the Object Enabler in turn, and confirm that the Proxy dialog box displays and that AutoCAD and other host applications work correctly in each case.
- Use the LIST command on each enabled custom object to ensure that all the appropriate information about the object is listed. No proxy information should be present in this listing.
- Test the following AutoCAD editing commands with the enabled custom objects: MOVE, COPY, ARRAY, ROTATE, SCALE, MIRROR, CHANGE, CHPROP.
To verify that your Object Enabler does not corrupt drawing files
- Open a drawing containing your custom objects on a computer without the Object Enablers installed; make sure that it opens successfully.
- Run the AUDIT command; confirm that it does not find any errors.
- Install your Object Enablers; make sure the drawing containing your custom objects opens successfully.
- Run the AUDIT command; confirm that it does not find any errors.
- Save the drawing on a computer that has the Object Enablers installed.
- Open the drawing with and without the Object Enablers installed. Make sure that the drawing opens successfully in both cases and that the AUDIT command does not find any errors.
If your product's Object Enablers are in multiple DBX files, test the various combinations of manually loaded DBX files using the following procedure.
To test multiple DBX files before uploading
- Open a drawing that requires multiple DBX files, only a subset of which are installed.
- Confirm that the Proxy dialog box is displayed for custom objects that do not have Object Enablers.
- Test the functionality of the custom objects that do have Object Enablers.
- Confirm that the combination of enabled custom objects and proxies does not corrupt drawing files.
- Repeat, using all combinations of installed and uninstalled DBX files.