Home Search

DriveWorks Pro 21
Info: Index of Tech Tips

Send Feedback

Index of Tech Tips

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

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

To access the portal:

  1. Go to https://my.driveworks.co.uk/learn/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked

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

DriveWorks Tech Tips Portal

Tech TipDescriptionTopic Links

DriveWorks 3D

This Tech Tip demonstrates the different ways a 3D Preview can be implemented.

DriveWorks 3D File

Account Login

An alternative to standard DriveWorks security for creating users which uses a Group Table.

Export Group Table

Hash MD5

Task Editor

Approval Concept

A customized Specification Flow can be used to implement an Approval State for specifications, so that users specifications must be approved by an administrator before release.

Specification Flow

Security

Autopilot Autostart

Includes a .bat file with instructions that explain how to automatically start Autopilot, open a group and then set it to run.

How To: Automatically Start Autopilot

Carousel Control

DriveWorks can be used to create dynamic controls; this example uses Macro Buttons to create a Carousel Control.

Drive Constant Value

Closed Child Specification

A method of completing a Child Specification, pulling data inputted into the Parent Specification, without having to open the Child Specification.

Create Closed Child Specification

Projects

Child Specification List

Condition Editor

Drive Config Specific Dimensions

Use the Create Configuration or Switch Configuration Generation Tasks to control configuration specific dimensions.

Switch Configuration

Create Configuration

Generation Tasks

Copy Table

Shows how to copy data from one Simple Table to another, remove selected rows and clear the whole table by using macros.

Run Macro In A Loop

Delete Simple Table Rows

Export Simple Table

Create Image Generation Task

This Tech Tip demonstrates how to create images of generated assemblies, parts or drawings using Generation Tasks.

Generation Tasks

Create Image

Create Reports

Creates an Excel document, which uses a CreateReports macro to create a copy of the document in PDF format, to a location and file name specified by you.

How To: Create A Macro To Run On A Document

Custom Child Spec List

How to create your own Child Specification List control which can be tailored to suit your forms, using a Data Table and Macro Buttons to re-skin it.

Child Specification List

Data Table

Start Child Specification

Invoke Child Specification Transition

Invoke Child Specification Operation

Date Picker

This project demonstrates how to use the date functionality within DriveWorks, taking things such as leap years into account.

Weekday

Text

Default Value Rule

Default Value and Override Value rules on your controls can be utilized to produce desirable form behavior.

Text Box

Default Value

Drawing Control Generation Tasks

Use the Auto Arrange Dimensions, Auto Balloon View and Rescale and Position View Generation Tasks to control a driven drawing.

Auto Arrange Dimensions

Auto Balloon View

Rescale And Position View

Generation Tasks

Dynamic Form Controls

An example of how to make your form controls dynamic and responsive to user inputs.

How To Change A Static Property To A Dynamic Property

Editing Table Data

This project shows how to add, edit and delete data from a Simple Table. The methods used in this can be transferred to Group Tables and also SQL Tables.

Export Simple Table

Delete Simple Table Rows

Default Value

Table Get Value

Export To Group And Simple Tables

Demonstrates how to export data from a specification into either a Simple or Group Table for later use.

Export Simple Table

Export Group Table

Frame Control

The Frame control displays a box in which any user form, within the project, can be displayed, which can be used to create tabs which display different forms when clicked.

Frame Control

Special Variables

Drive Constant Value

Form Design

Guest Account

The Specification Flow can be used to provide a Guest account which is able to run specifications without being able to view other users specifications. It also allows for dealers and distributors with existing accounts to run their own specifications which are only visible to themselves.

Security

Security Settings

Import Specifications

Using either a .tab or .xml file provided in the .drivepkg, generate multiple specifications at once using Autopilot.

Import Specifications

Condition Editor

Incrementing Specification ID

Specification Settings can be used to create a Specification ID that increments separately for each user.

Specification Settings

Export Group Table

Insert Component Generation Task

This project demonstrates how to insert and define a component using Generation Tasks, also how to use Looping to insert multiple components.

Insert Component

Create Coincident Mate

Create Distance Mate

Generation Tasks

Insert Decal on Named Face

This project demonstrates how to insert a Decal onto a part using Generation Tasks.

Generation Tasks

Insert Decal On A Named Face

Insert Library Feature Gen Task

This project demonstrates how Insert Library Feature can be applied to your models.

Insert Library Feature

Generation Tasks

Item List

Using a dialog form, Item Lists will take values selected from this form and add them into an Item List control.

ItemList

Macro Button Selection

Works as a color picker. Select an item and assign it a color by using Macro Buttons to drive a value.

How To Use Macro Argument Property

Special Variables

Drive Constant Value

Measurement Text Box

The Measurement Text Box control accepts numeric values and gives a choice of units, automatically converting the values.

Measurement Text Box

Replace Components

DriveWorks can replace models in a SOLIDWORKS assembly, which can be static or dynamic (i.e. the replacement part can be driven before being inserted into the assembly).

How To Replace An Instance With A Driven Replacement Model

Responsive Forms

When used online, DriveWorks can detect the width of the browser and drive this value into a constant. Form controls can then be set to have their position and size adapt dynamically based on the browser width, so forms can be optimized for a variety of devices.

Specification Form

RGB Hex Conversion

This Tech Tip demonstrates how to convert RGB values into Hex values using the ColorHex function.

Color Hex

List Get Item

DWVLookup

Send HTTP Request

Look at how to request data from a web service using the HTTP Request task in DriveWorks. You can also look at how to retrieve data from the result using Xpath.

Send HTTP Request

XPathGet

Shopping Basket

This project allows a customer to select from a range of products and specify the quantity required. This information is then exported into a Simple Table and used to generate a summary of the product selections that have been made. The customer is then able to delete, edit the quantity or review the list of products that have been selected prior to check-out.

Specification Macros

Option Button

Macro Button

Table Filtering

The TableFilter function allows a Data Table to be filtered using other form controls (such as a text box or combo box) so that only the relevant items are displayed.

Table Filter

Writing Rules

Table Functions

A selection of available functionality when pulling data from a DriveWorks Table onto your form.

ListAll

GetTableValue

Table Average

Table Max

Table Min

Table Sum

DWHLookup

DWVLookup

List All Conditional

Triggered Actions

Triggered Actions allow DriveWorks to wait until a designated file exists before transitioning a specification.

Triggered Action

Autopilot Triggers