Home Search

DriveWorks Pro 22
How To: Diagnose Project and Generation Issues (KB12121010)

Send Feedback

How To: Diagnose Project and Generation Issues

DriveWorks Administrator provides a number of reporting and diagnostic tools, in various areas, to help investigate causes of unexpected output behavior.

Diagnostics appear in the following areas:

Additionally one other tool available is SOLIDWORKS itself, see How To: Diagnose Project Issues Using SOLIDWORKS

Troubleshooting Models and Drawings

Dimensions

Common causes of dimension issues, include:

Features

Common causes of feature issues include:

When using the Preview feature of the DriveWorks Add-in in SOLIDWORKS any feature marked for deletion will be suppressed.

Missing References

A common cause for blank views and incorrect dimensions are improper internal file references within SOLIDWORKS. If this is the case, please attempt the following step.

  • Open the Master Drawings and perform a "Save as" function.

Performing a "Save as" of the Master Drawing can overwrite the file and re-reference the Drawings and Parts.

Error: Failed to Generate Component Map

This message can appear in the Model Generation Report and Model Insight Report when:

  • Generation Tasks, which are looped, delete instances or models in the first generation loop. Tasks in the second generation loop then report the error as the instances or models can no longer be found.
  • Generation Tasks, which are looped, delete features in the first generation loop. Tasks in the second generation loop then report the error as the features can no longer be found.

To prevent this message from occurring you must change the sequence in which items are deleted.

Either move all deletion tasks to the last model generation loop.

Or

Move all deletion tasks to be the last in the sequence of Pre or Post Drive Tasks

Troubleshooting Documents

Document not created

Common causes of documents not being created include:

  • Document hidden from list (not applicable to Email or ODBC Data Export documents).
    1. In the DriveWorks Administrator task explorer select Stage 4. Output Rules>Documents. Select the document that is not shown from the Documents list
    2. Click Edit. Review the General Setting - Hide from documentlist.
  • Output -File Name
  1. The File Name rule could be preventing creation - See  How To: Diagnose Project Issues Using Specification Test Mode

Check the Document Name rule for:

  • Use of illegal characters in the result of the Document Name parameter
  • The Document Name parameter equals "Delete". This will not produce the document.
  • Output File Path
  1. The Document Path rule could be preventing creation - See  How To: Diagnose Project Issues Using Specification Test Mode

Check the Document Path rule for:

  • Use of illegal characters in the result of the Document Path parameter
  • If the Document Path parameter is located on a network drive, ensure the machine has access to that location.
  • If the Document Path parameter is located on a network drive, ensure the user logged onto the machine has permission to write to that location.
  • Document Master File - If the data has been moved the document master file could be missing.
    1. Select the document from the documents list of Stage 4. Output Rules > Documents in DriveWorks Administrator
    2. Click Edit
    3. In the Master File section, click Browse at the end of the Path field
    4. Browse to the new location of the master document

Troubleshooting User Forms

Form Navigation incorrect

Common causes of incorrect form navigation include:

  •   Incomplete navigation connections.
    1. Select Stage 2. User Interface > Form Navigation
    2. Check each form icon has connections to and from the icon.
User form icons could inadvertently get placed over the top of user form icons that do form part of the navigation. This will make the navigation look complete. If this could be the case move each user form icon to a new position using the Form Navigation of Stage 2. User Interface in the task explorer.

Form connected to a decision does not display

Combo Box displays a blank entry at end of list.

  • The ListAllDistinct function could cause this in some circumstances. Using LISTALLCONDITIONALDISTINCT will allow the blank to be removed:

LISTALLCONDITIONALDISTINCT (DWLookupData,1,1,"<>""")

This means that it will lookup all of the data in a table called Data that is unique, from column 1, where values in column 1 are not blank (<>"").


Knowledge Base Article Ref:KB12121010