AdocAdmin

Browse database
Manage Configurations
    Existing Projects
    Setup Default Projects
Manage Applications
Status Codes
Users
    Users
    Groups
    Update Status
    Edit Web users
Structures
Indexes
Inventor
Misc
    Global.ini
    AutoCAD
    Inventor
    Word
    PDF Print Settings
    Other settings in Global.ini
Print Setup

Browse database

AdocAdmin.exe is the AutoDOC administration program. It is a utility designed for the system administrator, without the controls that the plain user has to obey to.

The icons at the top are the same as the ones used in AutoDOC although we have a few more icons here.

The first one adds an empty row to the database.

The second one adds an identical row as the current row. This one is useful if you are supposed to add a number of  identical rows, i.e. documents, to the database. Add an identical, change all fields that shouldn't be identical...

Third and forth are the same as in AutoDOC, i.e. edit current row and save changes.

The fifth is cancel changes done to current row.

The sixth is delete current row.

The first tab, Browse Database, gives an opportunity to browse and change all fields in the AutoDOC database, even fields hidden to the end user.

 

Manage Configurations

Existing Projects

Here you can define a number of configurations that can be used. AutoDOC uses three different directories, shelf's, to store documents. Which directory is used depends on the status of the document. (If it is working, not working but not yet approved, or approved). AutoDOC also has three different types of documents (drawings, word documents and user defined), so this makes a total of nine directories used.

The first field, DefData, is the name of the configuration. This is what the end user will see.

ID Key should be a unique id, it is used internally in AutoDOC to trace documents. Just use 1, 2, 3, etc.

AutoCAD Drawings:

DWGWORK is the directory used for dwg-files when you work with them.

DWGPEND is the directory used for drawings that are waiting to be checked, checked, or waiting to be approved. They are currently not working or approved.

DWGAPPR is the directory used for approved drawings. Should be a network path.

Word documents:

DOCWORK is the directory used for doc-files when you work with them.

DOCPEND is the directory used for Word documents that are waiting to be checked, checked, or waiting to be approved. They are currently not working or approved.

DOCAPPR is the directory used for approved Word documents. Should be a network path.

Other documents:
Other documents can be any type of document that has been added to AutoDOC. See Manage Applications for how to add other documents.

WORK is the directory used for these files when you work with them.

PEND is the directory used for these documents that are waiting to be checked, checked, or waiting to be approved. They are currently not working or approved.

APPR is the directory used for these documents when they are approved. Should be a network path.

Raster Documents (i.e. DWF files)

DWF Files follow the same convention as above. This makes it possible to restrict the usage of DWF files more efficient. See also The Groups Tab

 

Setup default project

A project is used to create a structure to store drawings and documents that have something in common. It can be documents belonging to the same department in an organization, drawings belonging to the same customer, etc. AutoDOC can be configured to handle new projects automatically and create an appropriate directory structure.

Lets assume that we would like to have all data under F:\MYDATA\<different directories>....   

#ROOT# will be replaced by "F:\MYDATA\10000" and "working drawings" will be placed in F:\MYDATA\10000\Drawings.

If a user creates additional project definitions, the directory structure will be created automatically:

 

NB! The user needs to have access rights to create new projects. This is configured under the "Users" tab.

 

Manage Applications

This function is used to add document types to AutoDOC. Menutext is what the user will se in the menu (and in the popup menu). Dwg/AutoCAD Drawings and DOC/Word documents are default, but you can add any document type you would like to. In the sample, we have added Excel. The template filename must exist since it is used to create new documents.

You can add a number of "similar" documents, like :

Menu Suffix Template
Letter doc C:\Program Files\Office\Template\letter.dot
Fax doc C:\Program Files\Office\Template\fax.dot

The "New Word document" function in AutoDOC uses any template used in Word to create new documents.

The "AutoCAD specific drawings" part lets you enter a template drawing for your AutoCAD application. The value will be stored in a local configuration file, AutoDOC.ini (which means that you will have to update all workstations if changed..) The field will of course not change when the VCR button is pressed.

 

Status Codes

Each document can have different status levels from time to time. AutoDOC uses an internal status code to handle this. Along with this code is a status message linked, and this is the message that the end user will see for the particular document. The Statuscode (Ch above) will be sent to AutoCAD so it can be shown in the title block. This makes it possible to automatically create a note or a "watermark" so that it will be easy to see if a drawing is being revised or not has been approved.

 

Users

The User tab has two notebook tabs, Users and Groups. Users is a list of all AutoDOC-users in the system. You will need one entry for every user (one license). You cannot add additional users (only with an "add license program"). The function for "Delete Current user" blanks out the current user so it can be used again.

USERID is the network login id.

USER is the signature that AutoDOC will default to when approving documents, etc.

NYCKEL is an internal ID field. Leave as is.

GROUP identifies which group the user belongs to. Different groups can have different rights in the system.

The Checkbox "Down AutoDOC" can be used to close AutoDOC down, logout all users and stop all database access. All users will get a message informing them that AutoDOC will close down. It can take up to five minutes before all users have received the message and 5 additional minutes before the have been logged out.

The message to AutoDOC users is a message displayed in AutoDOC, and can be used to send any message to your users. HTML tags can be used, <b><font color="#FF0000">AutoDOC will be closed down tomorrow at lunch due to maintenance</font></b> will create a red, bold text:

 

 

The Groups Tab:

 Here you can define any number of user groups with different access rights. All users can create New drawings and documents, all other menus can be disabled or enabled.

Sample, to allow the Group Admin to approve and delete documents:

 

To create a group called VIEWER that only has access to approved DWF files:

(OP3 to OP10 is reserved for future use)

 

Update Status

The Update Status Tab is used to force an update of AutoCAD's configuration. Each user has one row. Every row has an entry for "AUTOCAD" and a corresponding date field, showing when that user was updated. "Unchecking" a user means that the user will have the application (i.e. AutoCAD) configured next time AutoDOC is started.

Double-clicking the "AUTOCAD" headline above will prompt for an unmark/mark all...

The update includes:

For AutoCAD 2007 and later versions:

The configuration is done for every profile in all appropriate versions of AutoCAD (i.e. both for standard AutoCAD and for Mechanical if you have both installed) for the current user. (So if a user changes computer, you should probably re-run this for that user).

You can add functions to adoc.lsp and adoc.cui if you would like to add company specific functions and have them auto-loaded in AutoCAD.

An additional formatting has been added to HEAD.INI, the exclamation mark, "!", meaning "format as uppercase".

This has been added to make it possible to write the tag for the drawing id in lower case and use the "Update drawing command" i.e. Adoc_Import. AutoDOC will not find the drawing if the formatting not is used and an update not has been done!

To add the format in HEAD.INI add the FORMAT=.... line in the appropriate title block definition :

Sample (16 characters used for the drawing id):

[HEAD5]
TAG1=RITNING
FORMAT1=!!!!!!!!!!!!!!!!
TAG2=BESKRIVNIN{16.3}
TAG3=PROJEKT

The "Edit Web Users" pushbutton

This function is used to edit the list of Apache users and their corresponding passwords. The button is only enabled if a web server was found.

Apache can be specified in global.ini with:

[Apache]
ServerRoot=S:\Program Files\Apache Software Foundation\Apache2.2

or it can be read direct from the registry (which, of course, assumes that AdocAdmin is executed from the web server computer). The registry entry will not be used if ServerRoot has been specified in global.ini.

Web users needs an entry both as a web user and as an AutoDOC user. For external web users we recommend to setup a secure server using https and a cert file. Intranet users should use http. (Configure the server to use https for all external users but allow http for internal usage.)

 

Structures

The Structures tab can be used to access the structure database. (Structural analysis is an option to AutoDOC). The structure database defines a relationship between an assembly (and it's revision level) and detail parts (with revision level) in the assembly. The structure is updated when drawing(s) are approved or else modified and this function allows a backdoor for the system administrator.

 

Indexes

You should be very careful before changing any indexes in AutoDOC. We urge you to make a backup copy of the database files acad.dbf, acad.mdx and acad.dbt (or corresponding files if you use any other database). You should (must) be the only user of the AutoDOC database as well, since you must access the database in exclusive mode. This said, you can use this feature to create indexes used in the "instant find" function in AutoDOC. Assume your users would like to have the opportunity to sort and search all documents sorted by project and document number:

  To do this, create a index called PROJEKT (the internal name for the field Project, you can find the internal field name by selecting the Config tab and looking at headlines 1 to 3).

For the field Project, you wanted to sort on Project and Document No (Projekt and Ritning  internally). Use the Upper function to avoid case sensitivity. Then press the "Create Index" button and the "Add index to instant find" button. "Create Index" will take a while to run while "Add index to..." just updates the configuration file for AutoDOC.

 

Inventor

This is where the link to Autodesk Inventor is configured.

Start with the "Setup Inventor Link" if this is the first time you use the function:

Select an IDW file name that you know has a title block with appropriate data filled in. The Admin program then scans the drawing for all iProperties in the title block and saves them to an "Inventor Link" database. 

Then select the "Browse" tab to browse the database for all iProperties and link them to appropriate fields in the AutoDOC database:

The first impression might be overwhelming, but it is pretty simple.

Assume we would like to store the iProperty for "Author" in AutoDOC. Seems like a good idea? 

Select the row, "Summary Information" "Autothor". We can also see that the title was filled in with the signature "Ame":

 

Use the drop down at "AutoDOC-field" to select a field in the AutoDOC database:

Then press the "Save to current" button to save the link.

Done!

The USEMODEL checkbox

Suppose we don't want the Property "Author" derived from the drawing, we want the property picked from the model used to create the drawing. It's a 3D world... Right? This is what the USEMODEL checkbox does. To be able to change the value you must start with pressing the "Edit current row" button to allow editing (the state indicator will change from "View" to "Edit" as well)

Done:

 

AutoDOC fields that need special attention:

RITNING - the drawing number, usually the file name.

REVISION - used by AutoDOC for revision number. Use the field if you want to show the revision level automatically.

GRANSKAV - "Checked by" - automatically filled with signature when a document is checked.

GRANSKDAT - "Checked by date" - automatically filled with date when a document is checked.

GODKAV - "Approved by" - automatically filled with signature when a document is approved.

GODKDAT - "Approved by date" - automatically filled with date when a document is approved.

 

The Edit tab is essentially the same as the Browse tab, but it displays one row at a time, you can use the VCR button to go to another row.

The Edit tab has one additional checkbox, "Move Inventor IDW files when approved".

This checkbox is used to configure if AutoDOC should move the IDW file when it is approved or a status change has been done that usually moves the file physically. An Autocad DWG file is always moved to a directory for approved files when the file is approved, but if use intend to use Autodesk's Vault with Inventor, you might only want to change the status to "approved", not moving the file.

The same function is found in the Misc tab.

Some other Inventor settings...

Remove the checkmark from Start-up, "Show help on start-up" and "from "Start-up action"!

 

The Misc tab

The Misc tab holds miscellaneous configuration options.

Global.ini - displays settings stored in global.ini, the configuration file used by all users. Changes will affect all users.

Restart both AutoDOC and "Autodoc.Application", i.e. the small icon which is autoloaded when changing global.ini

AutoCAD

Current version - default blank, which uses default AutoCAD

AutoInstallAutoDOC - default 1, configures AutoCAD automatically for AutoDOC according to the Updates\AcadR<xx> directory.

CreateDwfFromDwg - default 0, used to configure if AutoDOC should create DWF files on-the-fly.

DwfConfig - default "DWF6 ePlot.pc3", i.e. the configuration used by AutoDOC when a DWF file is created. You should use a .pc3 file of your choice. You can also use a company specific plotting program if you use the "#" prefix, Sample:
DwfConfig=#(DwfPlotAdoc "#DWFFILE")
This means that we will use a Lisp function called "DwfPlotAdoc" with a additional parameter. The parameter, #DWFFILE, will be determined by AutoDOC at runtime, and will be the full file name (with path). The path will depend on Project and status on the drawing. (see Configurations)

Use Annotate ribbon for AutoDOC

This function is reserved for future use!

 

Inventor

AutoInstallInventor - default 0, no. Enter 1 if you want AutoDOC to automatically install and configure AutoDOC in Inventor (recommended).

CreateDwfFromIdw - default 1, used to configure if AutoDOC should create DWF files on-the-fly. 

Move Approved files - default 0. Used to configure if AutoDOC should move the IDW file when it is approved or a status change has been done that usually moves the file physically. An Autocad DWG file is always moved to a directory for approved files when the file is approved, but if use intend to use Autodesk's Vault with Inventor, you might only want to change the status to "approved", not moving the file. This setting will affect the AutoDOC menu in Inventor. 

Use Annotate ribbon for AutoDOC

default is not to use the Annotate Tab. I.e. the Manage Tab will be used instead.

Sample, Manage Tab:

Sample, Annotate Tab:

The actual menu will depend on the language of the operating system and the configuration. 

 

Word

Directory for Word templates specifies where you have Word template files (*.dot). You have the option to use this template when you create a word document in AutoDOC, and the search path in Word is automatically modified when AutoDOC is configured (I.e. AutoDOC configures Word) so you can use the template.

 

 

Pdf Print Settings

Default Printer: Check to use Pdf printing and to enable all functions. Changes will be in effect the next time each client starts the AutoDOC.Application, i.e. the small icon in the task bar. Enter the name of the Printer that should be used as default. This can be any suitable printer for the purpose. Default is PDFCreator.

Status Dependent Printing:

The default is that all functions are enabled. You can use different queues or printers for different document statuses, i.e. you can use different queues for regular update compared to a checked or an approved drawing. This way it is easy to set up a different queue so that drawings that are not approved are watermarked as "Not for manufacturing" (or whatever...)

NB. Drawings created with Inventor will be printed using the correct size and scale. AutoCAD based drawings needs some configuration regarding what size, etc, should be used. 

"Directory for PDF Files" specifies where AutoDOC will look for PDF files when a user selects Edit | View | Pdf file from the menu. The directory is stored in global.ini.

Other settings in global.ini:

Section CommonInstal
This section is used by the install program and has typically the serial number that should be used for the installation. Sample:

[CommonInstal]
Serial=xxxxx-xxxxx-xxxxx

 

Section CompanySpecificDefaults

This section can be used to specify default values for new documents. The sample shows how to specify todays date as the value for the field "KONDAT" and the signature specified for the user as the field "KONSTRAV":

[CompanySpecificDefaults]
_app.oMain.query1.rowset.fields["KONDAT"].Value = Date()
_app.oMain.query1.rowset.fields["KONSTRAV"].Value = _app.cUser

Other functions and/or constants are available as well. To use the "login-name", use id() instead of the _app.cUser constant:
_app.oMain.query1.rowset.fields["KONSTRAV"].Value = id()

 

Section AutoDocObjects

[AutoDocObjects]
This section can be used to modify existing objects in AutoDOC or to add new objects. An object can be a text string displayed or a new database field.... So, yes, you can add your own database fields.

See also http://www.morateknikutveckling.se/simplified_install.htm

 

Print Setup

There are two basic types of printing built in to AutoDOC. They are called DWF print and PDF print. DWF print is what you can assume, i.e. creation of DWF files. The basic version is to create DWF files as simple as possible, i.e. without any demands regarding correct scale, etc. See AutoCad section and Print Setup - DWF type.

PDF type of printing is basically a way to print AutoCAD and Inventor drawings totally configurable. It does not have to be PDF files that are created, but PDF is used as a sample. See Pdf Print Settings and Print Setup - PDF type.

Print Setup - DWF type

DWF's can be created using the DWF6 ePlot.pc3 driver, but if you prefer to have DWF's made with correct scale, you will need an application program to solve the problem. Such a program - DwfPlotAdoc.VLX - can be found in the support area.

Tip: Add the line
(load "DwfPlotAdoc.VLX")
to Adoc.lsp and copy both Adoc.lsp and DwfPlotAdoc.VLX to the Updates\AcadR<xx> folder.
That's all you need to do to implement and distribute the print function to all users!

xx in AcadR<xx> is, as always, the actual Autocad version currently in use.

See also http://www.morateknikutveckling.se/simplified_install_adv.htm#adding_a_reg_file_for_DWF-based_sheets_for_plotting for configuration.

 

Print Setup - PDF type

Printing in Inventor works without any special configuration. Inventor has all needed properties for the size of each different sheet used, the scale, handling of rotation (Landscape or Portrait) etc. 

Printing in AutoCad is not that easy, mostly due to historic reasons. Drawing sheets are usually defined as blocks inserted to the drawing, blocks that are company specific and AutoCad does not "know" that it is a drawing sheet. 

AutoDOC uses Autocad's plot command to create printed drawings. The easiest way to see which questions you have to answer is to issue a "_-plot" command on the command prompt in Autocad.

The configuration is done in the configuration file global.ini which is read by the users computer when the configuration is done. All parameters are then read from the registry when the actual printing is done.

A sample cut from global.ini:

[SetupAutoDocPlotConfigSettings]
Delimiter=;
EraseReg=AutoDocPlotConfig\PdfType2

[SetupAutoDocPlotConfigRegEntries]
AutoDocPlotConfig=CurVer;PdfType2
AutoDocPlotConfig\PdfType2=AutoCadPlotCommand;(PdfPlotAdoc "PdfType2Sample")
AutoDocPlotConfig\PdfType2\Area=E
AutoDocPlotConfig\PdfType2\Lineweights=Y
AutoDocPlotConfig\PdfType2\Offset=0,0
AutoDocPlotConfig\PdfType2\PaperSize\f?a0=A0
AutoDocPlotConfig\PdfType2\PaperSize\f?a0\Orientation=L
AutoDocPlotConfig\PdfType2\PaperSize\f?a1=A1
AutoDocPlotConfig\PdfType2\PaperSize\f?a1\Orientation=L
AutoDocPlotConfig\PdfType2\PaperSize\f?a2=A2
AutoDocPlotConfig\PdfType2\PaperSize\f?a2\Orientation=L
AutoDocPlotConfig\PdfType2\PaperSize\f?a3=A3
AutoDocPlotConfig\PdfType2\PaperSize\f?a3\Orientation=L
AutoDocPlotConfig\PdfType2\PaperSize\f?a4=A4
AutoDocPlotConfig\PdfType2\PaperSize\f?a4\Orientation=P
AutoDocPlotConfig\PdfType2\PlotstyleName=monochrome.ctb
AutoDocPlotConfig\PdfType2\PlotToFile=N
AutoDocPlotConfig\PdfType2\Proceed=Y
AutoDocPlotConfig\PdfType2\SaveChanges=N
AutoDocPlotConfig\PdfType2\Scale
AutoDocPlotConfig\PdfType2\Shade
AutoDocPlotConfig\PdfType2\Status\Approved\Device=\\Silversurfaren\PDFCreator
AutoDocPlotConfig\PdfType2\Status\Checked\Device=PDFCreatorWMark
AutoDocPlotConfig\PdfType2\Status\Revise\Device=PDFCreatorWMark
AutoDocPlotConfig\PdfType2\Status\Update\Device=PDFCreatorWMark
AutoDocPlotConfig\PdfType2\Styles=Y
AutoDocPlotConfig\PdfType2\Units=M
AutoDocPlotConfig\PdfType2\UpsideDown=N

 

The section [SetupAutoDocPlotConfigSettings] has two entries:
Delimiter=;    use the character ";" as a delimiter to distinguish between the key and the value when reading the section [SetupAutoDocPlotConfigRegEntries] and also to separate each registry entry that should be deleted.

EraseReg=AutoDocPlotConfig\PdfType2    instructs that the whole section "AutoDocPlotConfig\PdfType2" should be erased before the new configuration is added. You can specify more sections delimited with the Delimiter, sample:

EraseReg=AutoDocPlotConfig\PdfType1;AutoDocPlotConfig\PdfType2;AutoDocPlotConfig\ManufType
This will erase all three sections:
AutoDocPlotConfig\PdfType1
AutoDocPlotConfig\PdfType2
AutoDocPlotConfig\ManufType

The section [SetupAutoDocPlotConfigRegEntries] holds the actual configuration. Depending on this section, one value might be dependent on another value. I.e. in this sample the Status on the document will determine which printer will be used. Approved documents will use the printer \\Silversurfaren\PDFCreator. All other documents will use the printer PDFCreatorWMark. Comments are written in italics...


[SetupAutoDocPlotConfigRegEntries]
AutoDocPlotConfig=CurVer;PdfType2

The currently used plotter configuration will be "PdfType2". We can have several other configurations and switch between them by changing the CurVer value.

AutoDocPlotConfig\PdfType2=AutoCadPlotCommand;(PdfPlotAdoc "PdfType2Sample")

The command used by Autocad to print (plot) will be "(PdfPlotAdoc "PdfType2Sample")", I.e. a autolisp command called "PdfPlotAdoc" with the argument "PdfType2Sample". PdfPlotAdoc is a AutoDOC command which is built in to the application. The argument is for documentation only. You can use the argument "DUMP" for debugging reasons, if so, the "plot-command" will be displayed in a dialog box instead of being executed. You can create your own command instead of PdfPlotAdoc, or you can create a command the plots two times with different configurations...

AutoDocPlotConfig\PdfType2\Area=E

Answer "E" (Extents) on the "Area" question.

AutoDocPlotConfig\PdfType2\Lineweights=Y
AutoDocPlotConfig\PdfType2\Offset=0,0

Use "0,0" as the offset

AutoDocPlotConfig\PdfType2\PaperSize\f?a0=A0

Every format (all sizes) should be defined after the "Papersize" directive! I.e. "F?A0" will match F1A0, F2A0, F3A0.., FAA0, FFA0, etc. If the drawing has a block which matches the specified size, then AutoDOC will use the corresponding paper (A0 in this sample). Needless to say, the paper MUST match available papers in the printer (Easy one to miss, actually!).

AutoDocPlotConfig\PdfType2\PaperSize\f?a0\Orientation=L

Use orientation "L" (landscape) for this size. Orientation can be omitted, if so it will be calculated automatically. Regardless of this, some printers will not work anyway, so you might have to specify it. One other option for the Orientation command is "ROTATE", meaning rotate the printout 90 degrees from the calculated orientation (if all documents should be rotated).

AutoDocPlotConfig\PdfType2\PaperSize\f?a1=A1
AutoDocPlotConfig\PdfType2\PaperSize\f?a1\Orientation=L
AutoDocPlotConfig\PdfType2\PaperSize\f?a2=A2
AutoDocPlotConfig\PdfType2\PaperSize\f?a2\Orientation=L
AutoDocPlotConfig\PdfType2\PaperSize\f?a3=A3
AutoDocPlotConfig\PdfType2\PaperSize\f?a3\Orientation=L
AutoDocPlotConfig\PdfType2\PaperSize\f?a4=A4
AutoDocPlotConfig\PdfType2\PaperSize\f?a4\Orientation=P

Use Portrait for the size "A4"!

AutoDocPlotConfig\PdfType2\PlotstyleName=monochrome.ctb
AutoDocPlotConfig\PdfType2\PlotToFile=N
AutoDocPlotConfig\PdfType2\Proceed=Y
AutoDocPlotConfig\PdfType2\SaveChanges=N
AutoDocPlotConfig\PdfType2\Scale

Scale is left blank, which means that AutoDOC will determine the scale used and plot according to it. You can also use "F" (Fit) if printing to smaller sizes...


AutoDocPlotConfig\PdfType2\Shade

Use default value for the "Shade" parameter...

AutoDocPlotConfig\PdfType2\Status\Approved\Device=\\Silversurfaren\PDFCreator

Use the printer called PDFCreator on the server Silversurfaren when printing approved drawings.

AutoDocPlotConfig\PdfType2\Status\Checked\Device=PDFCreatorWMark
AutoDocPlotConfig\PdfType2\Status\Revise\Device=PDFCreatorWMark
AutoDocPlotConfig\PdfType2\Status\Update\Device=PDFCreatorWMark

Use the printer called PDFCreatorWMark when printing drawings that not are approved. (Tip: Might be a print queue which adds watermarks....)

AutoDocPlotConfig\PdfType2\Styles=Y
AutoDocPlotConfig\PdfType2\Units=M
AutoDocPlotConfig\PdfType2\UpsideDown=N

Parameter substitution

The current filename can be specified with "#FILENAME" in the configuration file Global.ini

Sample, to use PdfPlotAdoc to create DWF files:

AutoDocPlotConfig\DwfTyp1=AutoCadPlotCommand;(PdfPlotAdoc "DwfTyp1Sample")
AutoDocPlotConfig\DwfTyp1\Area=E
AutoDocPlotConfig\DwfTyp1\Lineweights=Y
AutoDocPlotConfig\DwfTyp1\Offset=0,0
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a0=ISO full bleed A0 (841.00 x 1189.00 MM)
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a0\Orientation=L
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a1=ISO full bleed A1 (841.00 x 594.00 MM)
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a1\Orientation=L
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a2=ISO full bleed A2 (594.00 x 420.00 MM)
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a2\Orientation=L
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a3=ISO full bleed A3 (420.00 x 297.00 MM)
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a3\Orientation=L
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a4=ISO full bleed A4 (210.00 x 297.00 MM)
AutoDocPlotConfig\DwfTyp1\PaperSize\f?a4\Orientation=P
AutoDocPlotConfig\DwfTyp1\PlotstyleName=monochrome.ctb
AutoDocPlotConfig\DwfTyp1\Status\Approved\PlotToFile=S:\MyApprovedPdfs\#FILENAME
AutoDocPlotConfig\DwfTyp1\Status\Checked\PlotToFile=S:\MyCheckedPdfs\#FILENAME
AutoDocPlotConfig\DwfTyp1\Status\Revise\PlotToFile=S:\MyWorkingPdfs\#FILENAME
AutoDocPlotConfig\DwfTyp1\Status\Update\PlotToFile=S:\MyWorkingPdfs\#FILENAME
AutoDocPlotConfig\DwfTyp1\Proceed=Y
AutoDocPlotConfig\DwfTyp1\SaveChanges=Y
AutoDocPlotConfig\DwfTyp1\Scale
AutoDocPlotConfig\DwfTyp1\Shade
AutoDocPlotConfig\DwfTyp1\Device=dwf6 ePlot.pc3
AutoDocPlotConfig\DwfTyp1\Styles=Y
AutoDocPlotConfig\DwfTyp1\Units=M
AutoDocPlotConfig\DwfTyp1\UpsideDown=N

I.e. we use PdfPlotAdoc to create status dependent DWF files in S:\MyApprovedPdfs, S:\MyCheckedPdfs, S:\MyWorkingPdfs, PdfPlotAdoc is called inside Autocad and checkes the status before plotting. DwfPlotAdoc is usually run from inside AutoDOC with the directory as a parameter.

Sample, to create PDF files based on Autodesk's "DWG to PDF.pc3" driver.
(DWG to PDF.pc3 has been modified to use all of the sheet size's, i.e. no margins)

[SetupAutoDocPlotConfigSettings]
Delimiter=;
EraseReg=AutoDocPlotConfig\PdfSample3

[SetupAutoDocPlotConfigRegEntries]
AutoDocPlotConfig=CurVer;PdfSample3
AutoDocPlotConfig\PdfSample3=AutoCadPlotCommand;(PdfPlotAdoc "PdfSample3")
AutoDocPlotConfig\PdfSample3\Area=E
AutoDocPlotConfig\PdfSample3\Lineweights=Y
AutoDocPlotConfig\PdfSample3\Offset=C
AutoDocPlotConfig\PdfSample3\PaperSize\F1A1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\f1a1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F1A2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\F1A2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F1A3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\F1A3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F1A4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\F1A4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\A1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\A1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\A2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\A2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\A3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\A3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\A4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\A4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\F2A1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\F2A1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F2A2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\F2A2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F2A3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\F2A3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F2A4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\F2A4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\F3A1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\F3A1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F3A2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\F3A2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F3A3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\F3A3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\F3A4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\F3A4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\A1A1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\A1A1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\A1A2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\A1A2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\A1A3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\A1A3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\A1A4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\A1A4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\RAMA4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\FA1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\FA1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\FA2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\FA2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\FA3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\FA3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\FA4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\FA4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\WA1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\WA1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\WA2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\WA2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\WA3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\WA3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\WA4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\WA4\Orientation=P
AutoDocPlotConfig\PdfSample3\PaperSize\f?a0=Full A0
AutoDocPlotConfig\PdfSample3\PaperSize\f?a0\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\f?a1=Full A1
AutoDocPlotConfig\PdfSample3\PaperSize\f?a1\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\f?a2=Full A2
AutoDocPlotConfig\PdfSample3\PaperSize\f?a2\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\f?a3=Full A3
AutoDocPlotConfig\PdfSample3\PaperSize\f?a3\Orientation=L
AutoDocPlotConfig\PdfSample3\PaperSize\f?a4=Full A4
AutoDocPlotConfig\PdfSample3\PaperSize\f?a4\Orientation=P
AutoDocPlotConfig\PdfSample3\PlotstyleName=monochrome.ctb
AutoDocPlotConfig\PdfSample3\Proceed=Y
AutoDocPlotConfig\PdfSample3\SaveChanges=N
AutoDocPlotConfig\PdfSample3\Scale
AutoDocPlotConfig\PdfSample3\Shade
AutoDocPlotConfig\PdfSample3\Status\Approved\Device=DWG To PDF modified.pc3
AutoDocPlotConfig\PdfSample3\Status\Approved\PlotToFile=S:\Temp\PDF\Tmp\#FILENAME
AutoDocPlotConfig\PdfSample3\Status\Checked\Device=DWG To PDF modified.pc3
AutoDocPlotConfig\PdfSample3\Status\Checked\PlotToFile=S:\Temp\#FILENAME
AutoDocPlotConfig\PdfSample3\Status\Revise\Device=DWG To PDF modified.pc3
AutoDocPlotConfig\PdfSample3\Status\Revise\PlotToFile=S:\Temp\#FILENAME
AutoDocPlotConfig\PdfSample3\Status\Update\Device=DWG To PDF modified.pc3
AutoDocPlotConfig\PdfSample3\Status\Update\PlotToFile=S:\Temp\#FILENAME
AutoDocPlotConfig\PdfSample3\Styles=Y
AutoDocPlotConfig\PdfSample3\Units=M
AutoDocPlotConfig\PdfSample3\UpsideDown=N

 

 

Tip: Regarding setting up print queues...

There are a number of different printers available to do the actual printing, like PDFCreator. Most of them can be used to create the Pdf file direct, in the the AutoDOC "PDF-directory" but that is not as smart as it first might look like. If any user uses the file it will usually be locked so a new file can not be created. Due to this fact it is better to use a program that moves pdf files from the directory where they are created by the printer to the "AutoDOC "PDF-directory". One other reason to use a program for this is that Autocad usually names pdf files "<drawing number> Model.pdf", so the files has to be renamed to <drawing number>.pdf!
(Inventor names the file to <drawing number>.pdf as supposed)

More about PDFCreator and configuration....

Tip: Regarding viewing files...

Use a web server. This way you will stream the file so you will avoid write error(s) and it is possible to handle security issues easier. The best way is to use the application "AutoDOC plot server" since it offers both security and a customizable user interface. The user has typically only the option to write a list of drawing numbers and select a printer or to view them. No need to know anything about the application that created the file or if the drawing is approved or not...