DriveWorks Pro 16: DriveWorks 3D File [send feedback...]

DriveWorks 3D File

The DriveWorks 3D File document type references .drive3d files created using your 3D CAD application.

The document can be displayed in the 3D Preview control to allow a configurable 3D representation, optimized for internet browsers, on a user form.

A DriveWorks 3D Document can assemble models together to create Assemblies or layouts in 3D. Appearances, Textures, Scale and Lights can all be dynamically driven.

This can all be done without the need for SOLIDWORKS.

Add a DriveWorks 3D File Document

In DriveWorks Administrator open the Project and go to Stage4: Output Rules then Documents - Files

  1. Click the Add button on the Command Bar to launch the Create Document wizard.
  2. Choose the required document type from the Documents list in the Create Document wizard.
  3. Enter a name for the document in the field below the Documents list.
    Create DriveWorks 3D File
  4. Click "Next".
  5. Note this step is optional - A .drive3d file can be added to the document later.

    Click the Browse button at the end of the Master DriveWorks 3D File field and browse to the location of the .drive3d file that is to be added as a Document.

    Please see How To: Create a Drive3D File for information on creating a drive3d file to add to the Document.

    Click "Open" in the Open dialog.

  6. Click "Finish" in the Create Document dialog.

Once the Document has been added the Document Properties window opens.

When changing the Master File, any rules applied in the Output File and Captured Properties sections will be removed.

To Edit a DriveWorks 3D File Document

Please see the topic How To: Create Appealing DriveWorks 3D files for more information.

Once the Document has been added, Edit mode is automatically activated.

To re-edit a DriveWorks 3D Document:

  1. Select the required DriveWorks 3D Document from the Document list.
  2. Select Edit from the command bar.

The DriveWorks 3D Document editor will open.

The DriveWorks 3D Document Editor is split into several sections:

  • Command Bar
  • Options Panel
  • Feature Panel
  • 3D View
  • Parameter Panel
  • Information Panel

Command Bar

The Command Bar contains a number of features that are useful when using a DriveWorks 3D File Document.

  • Build

    Build will become available when you have a rule selected with the Document. It opens the Rules Builder to build a rule for that property.

  • Refresh

    Refresh will refresh the DriveWorks 3D File Document. It will obtain and update all of the data required to build the 3D Document. This is useful when updating 3D Document Source Files.

  • View As Combined

    In a DriveWorks 3D Document it is possible to check multiple Nodes. The properties for each Node will appear separately and rules can be built. View As Combined, combines properties from multiple Nodes into one for each property name. This allows you to build one rule for multiple Nodes.

  • Expand All

    Expands the whole Feature Panel, including Assets folders.

  • Collapse All

    Collapses the whole Feature Panel, including Assets folders.

  • Select All

    Selects everything in the Feature Panel, including Assets folder features.

  • Deselect All

    Deselects everything in the Feature Panel, including Assets folder features.

  • Import Drive3D File

    Imports a DriveWorks 3D File into the 3D Document. If no Node is selected it will import the Model onto the Root Node. Otherwise it will import the model onto the selected Node.

  • Export Drive3D File

    Takes the current DriveWorks 3D File Document and exports it as a standalone DriveWorks 3D File.

  • Zoom To Fit

    Performs a Zoom To Fit on the Model shown in the 3D View. Allows the whole model to be seen in the 3D View.

  • Preview Mode

    Preview Mode allows the 3D View to appear as it would in a Specification. This hides the default camera, if hidden, and enables Camera Entities if added to the 3D Document.

Options Panel

This allows the following options, for the resulting DriveWorks 3D Document, to be controlled.

Document Name

This is the name of the new Document to be created.

To Build a File Name Rule

The rule for the File Name of the new Document is built by:

  1. Click the Build button at the end of the File Name Rule field
  2. Enter a name for the Document in the Rule Builder

Document Path

This is the location to store the new Document when it is created.

To Build a Path Rule

The rule for the path to store the new Document is built by:

  1. Click the Build button at the end of the Path Rule field
  2. Enter a qualified path in the Rule Builder that will be the location of the new Document.

Path Rule Examples

RuleMeaning

If no file path is specified the Document will be located at the location specified by the settings Default Specification Folder and Specification Path to form the location:

Default Specification Folder \ Specification Path

"..\Documents"

Will go back a level (..\) from the Project location and place the new Document in a folder named Documents.

If the Documents folder does not exist DriveWorks will create it when the Document is created
"F:\DriveWorks\" & CustomerReturn & "\" & DWVariableOrderNumber & "\Documents"Will create the Document on the network drive F:\DriveWorks. From this point the folder structure calculated by the input Customer, the variable OrderNumber and \Documents will be created.
"\\FileServer\DriveWorks\" & CustomerReturn & "\" & DWVariableOrderNumber & "\Documents"Will create the Document on the UNC path \\FileServer\DriveWorks. From this point the folder structure calculated by the input Customer, the variable OrderNumber and \Documents will be created.

Create Drive3D

When checked DriveWorks will create a .drive3D file.

The .drive3D file will only be created when the Specification Transitions to a State where the Release Documents task is used.

Hide From Document List

When this setting is enabled (by checking the box) the document will be hidden from the Documents list in the Specification Explorer.

3D View

When a drive3d file has been added it will be displayed in the 3D View.

This is how the file will be viewed when applied to the 3D Preview Box control.

The model view can be controlled with the mouse by:

  • Rotate - left click and drag.
  • Zoom - mouse wheel.
  • Pan - right click and drag or mouse wheel click and drag.
Without a .drive3D model appliedWith a .drive3D model applied

DriveWorks Tech Tips Portal

3D Preview - Dynamic

This Tech Tip demonstrates how to use a DriveWorks 3D Document with pre-created files.

View all Tech Tips

3D Preview - Mixed Mode

This Tech Tip combines a number of different 3D Preview methods. It uses static files within 3D Documents along with Previewed Models generated from SOLIDWORKS.

View all Tech Tips

3D Preview

Set up a 3D Preview control on your form, allowing you to display 3D Models on your form.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://hub.driveworks.co.uk/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.

Table of Contents