DriveWorksXpressScissorLiftTutorial PDF
DriveWorksXpressScissorLiftTutorial PDF
TUTORIAL
An Introduction to DriveWorksXpress
www.driveworksxpress.com
CONTENTS
INTRODUCTION TO DRIVEWORKSXPRESS .......................................................................................... 3
About the Tutorial ................................................................................................................................................ 3
Getting Started ..................................................................................................................................................... 4
DRIVEWORKSXPRESS NAVIGATION BAR ............................................................................................ 5
REGISTRATION AND BASIC SETUP ...................................................................................................... 6
DriveWorksXpress 2015 Registration.............................................................................................................. 6
BASIC SETUP ....................................................................................................................................... 10
Launching DriveWorksXpress ......................................................................................................................... 10
Create a New Database .................................................................................................................................... 11
CAPTURING MODELS AND DIMENSIONS .......................................................................................... 12
Capturing SOLIDWORKS Models.................................................................................................................... 12
CAPTURING DIMENSIONS AND FEATURES ....................................................................................... 15
Capturing THe SL Fixed Beam Tie.................................................................................................................. 16
Capturing DIMENSIONS and Features .......................................................................................................... 17
CAPTURING DRAWINGS ..................................................................................................................... 19
CAPTURING CUSTOM PROPERTIES ................................................................................................... 20
CREATING INPUT FORMS ................................................................................................................... 21
Adding Controls.................................................................................................................................................. 21
TEST MODE.......................................................................................................................................... 25
RULES BUILDER .................................................................................................................................. 26
FILE NAME RULES ............................................................................................................................... 28
Build a rule for the Scissor Lift Assembly File Name .................................................................................. 29
Building Multiple File Name Rules .................................................................................................................. 31
DIMENSION RULES ............................................................................................................................. 33
RUNNING THE PROJECT..................................................................................................................... 36
INTRODUCTION TO DRIVEWORKSXPRESS
DriveWorksXpress is entry-level Design Automation software included in SOLIDWORKS. It is ideal if
the designs and projects you work on are the Same but Different. It is widely used in many industries
from trailers to conveyors, furniture to machinery, mechanical seals to pressure vessels, windows &
doors.
You’ll find it already installed and waiting for you to use under the SOLIDWORKS Tools menu. It is
ideal for everyday repetitive design tasks. Use it to create multiple variations of SOLIDWORKS Parts,
Assemblies and Drawings quickly and accurately.
This DriveWorksXpress tutorial is intended to provide a quick introduction to using
DriveWorksXpress.
The length and width of the scissor lift can be changed. This
means a custom design needs to be produced for each sales
enquiry or order. This could take a few hours and be very
repetitive for you, the engineer. Time spent creating custom files
manually could also delay the company’s sales cycle.
GETTING STARTED
To begin this tutorial, you will need to download the SOLIDWORKS project files for the scissor lift
from the DriveWorksXpress website: www.driveworksxpress.com
By following this DriveWorksXpress tutorial you will soon be automating your own designs in
SOLIDWORKS.
5
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
The first time you use DriveWorksXpress in SOLIDWORKS 2015, you will need to log into your
SOLIDWORKS account and register DriveWorksXpress.
If you are using SOLIDWORKS 2014, you can skip directly to Basic Setup.
STEP 1
You’ll need your SOLIDWORKS Serial Number. You can find this by navigating to: Help > About
SOLIDWORKS.
6
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Click ‘Show Serial Number’ and copy it ready for step two.
STEP 2
Once you’ve got your SOLIDWORKS Serial Number, open DriveWorksXpress.
You will be asked to log into your My SOLIDWORKS account and register DriveWorksXpress with
your SOLIDWORKS Serial Number.
7
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
If you don’t already have an account, you will need to create one with SOLIDWORKS. This is really
easy, just click the link to create an account.
STEP 3
Once you’re logged in, you will get an Activation Code for DriveWorksXpress.
8
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Paste the code into the activation window and click OK.
9
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
BASIC SETUP
LAUNCHING DRIVEWORKSXPRESS
Click on the ‘Tools’ tab in the SOLIDWORKS menu bar and select DriveWorksXpress from the
drop-down options.
This activates DriveWorksXpress, which will open on the right hand side of the screen.
Run Models
Jump directly to Run to specify a new
variation using a completed project
10
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
To create a new DriveWorksXpress Database, click the ‘Create/Change Database’ radio button.
11
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Click Next to navigate to the next window within the DriveWorksXpress Task Pane.
This will allow you to capture your models and the parameters that will be controlled. There are
three ways to select which models are to be captured and driven using DriveWorksXpress:
Make sure ‘Browse for new model’ is selected and click ‘Next’.
Browse to the location on your hard drive where you have saved your Scissor Lift files, open
the folder and select the SOLIDWORKS Assembly Document called ‘Scissor Lift
Assembly.SLDASM’
Click ‘Open’
12
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Once DriveWorksXpress knows the location of the files, we’ll need to tell it which components we
want to capture dimensions and features from.
NOTE – It is possible for these tabs to be dragged and compressed into one line in order to
create more work space in DriveWorksXpress. If you don’t see the tabs displayed in the image
above, it is possible that you may see the following at the bottom of the Task Pane:
Captured Models
This shows the models that have been captured inside of DriveWorks.
Custom Properties
Any custom property that has been assigned in SOLIDWORKS can be captured and driven by
DriveWorksXpress.
13
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
14
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
A parameter is captured by selecting the ‘Captured Models’ tab and then double clicking on the
model that the parameter exists in.
This will open the model in SOLIDWORKS allowing you to select the dimensions and features you
wish to capture and control.
With the models captured, begin the process of capturing the parameters that you need to
control. The following steps will guide you through the process of capturing dimensions and
features in DriveWorksXpress.
15
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Double click on the SL Fixed Beam Tie in the ‘Captured Models’ tab and then select the
‘Dimensions and Features’ tab.
The captured dimension will be listed under Dimensions and Features in the DriveWorksXpress
task pane.
The next step is to capture the rest of the features and dimensions from each individual part of
the Scissor Lift assembly. The process of capturing dimensions is the same throughout every
part and assembly
16
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Continue through every captured part and capture the following dimensions using the process
explained above.
Be careful to ensure that you are capturing the dimension and not the feature, this can be
checked by looking at the icon next to the Address and Name fields:
Capturing Features:
Capturing Dimensions:
17
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
18
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
CAPTURING DRAWINGS
With DriveWorksXpress you can capture your SOLIDWORKS engineering drawings. This feature
means that when a new version of the model is made using DriveWorksXpress, the engineering
drawing of that component is also updated to match it. Click the ‘Browse’ button to search your
hard drive for the corresponding SOLIDWORKS drawing file.
To add a drawing, open the model or assembly using the tree view in the Captured Models tab
and then browse to the Drawings and Configurations tab. Click the ‘Browse’ button to search your
hard drive for the corresponding SOLIDWORKS drawing file.
The captured drawing will be updated and saved with a new name every time a specification is
run.
19
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
To do this you must capture the Custom Properties that you would like to control. Then, build a
rule for these properties and ensure that a value is driven into them every time.
20
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
ADDING CONTROLS
To access the Form Designer, click the ‘Next’ arrow at the top of the DriveWorksXpress Task
Pane, or select the Form Creation Icon shown below.
Name - You must provide a descriptive name for the form control. This name will be the
title the user sees as they fill in your form i.e. Customer Name
21
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
In this example, create a Customer Name and an Order Number Text Box control. Later you will
need to build a rule to append the Customer Name and Order Number to each file so that each
set of new files in a specification can be easily identified. These two values will also be used to
create a Drawing Number which will be driven into the Drawing Border of the Scissor Lift drawing.
Begin by adding a Text Box to your Form to allow a Customer Name to be entered.
Type the name of the Control and then use the Drop Down to select the Control Type.
Tick the ‘Required’ check box to ensure a Customer Name is entered for each new
specification.
Click ‘Next’ to register the control and display the Control List.
22
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Notice that the form control appears in the form designer within the DriveWorksXpress Task
Pane. As you create your form, you can edit and delete controls, as well as change the order by
using the Up and Down arrows.
23
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Click ‘Add’ and repeat the steps to add the following controls:
Add a Spin Button called Length to control the length of the lifting bed.
Add a Spin Button called Width to control the width of the lifting bed.
24
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
TEST MODE
You will notice that as you fill out the forms with
valid information, the background of the text
boxes will change from pink to white and the
yellow warning triangles will disappear.
25
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
RULES BUILDER
DriveWorksXpress lets you use Excel syntax to build rules to automate your SOLIDWORKS
models.
Navigate to the Rules tab by clicking ‘Next’ or ‘Rules’ in the DriveWorksXpress Task Pane.
The Rules tab shows a summary of your rules and how many of each rule type there are. The
summary also shows the number of unbuilt rules that must be completed before a new
Specification can be created:
26
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Before you begin to create rules within this tutorial, here is a quick summary of the
DriveWorksXpress Rules Builder.
There are four drop-down menus within the DriveWorksXpress Rule Builder:
Inputs
Lists the available controls that can be used in rules
Recent
This can be populated with commonly used text strings or equations
Math
Mathematical operators (e.g. add, subtract, and divide)
Logic
Logical operators (e.g. IF, <, >, =)
27
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Check the File Name check box and click ‘Next’ in the DriveWorksXpress Navigation.
You can choose to show all rules or just missing rules that have not been built yet. You also have
the option to view your files as a List or in a Tree View. The default is List View.
28
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Select the Scissor Lift Assembly and then click ‘Build’ or double-click.
All the file names that are going to be created for these models will need to be unique to that
particular specification and therefore the file names should be populated with information that
will allow the files to be easily identified. For this tutorial, this will involve using the customer’s
name and their order number within the file name.
To create unique file names for each new specification, file names should be populated with
information that will allow you to recognise what they are. For the Scissor Lift Assembly, use the
Customer Name and Order Number inputs to create file names that have the format, “Component
OrderNumber – CustomerName”.
29
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Start by selecting the ‘OrderNumber’ control from the Inputs tab. This will now place the value
from the control into the rule
To incorporate the hyphen between OrderNumber and CustomerName, ampersands (&) need to
be used. This is because OrderNumber is one string and the hyphen is another string. Therefore,
you need to type & “-“.
To finish off the File Name rule, type & CustomerName (or select ‘CustomerName from the Input
menu).
The completed rule should read: OrderNumber & “-“ & CustomerName
Click ‘OK’ to save the rule and exit the Rules Builder
30
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
The rules for the Parts and Sub-Assemblies are going to be different from the main assembly.
You are going to incorporate the dimensions that will change in each part into the File Name rule.
This will mean that DriveWorks will create and build up a standard set of components as their file
name will be based on their actual size. This will speed up generation as DriveWorks will not
create the part if it already exists.
To begin with, select all the Parts that will change when
the length of the Scissor Lift changes. The parts to
select are the ‘SL Cylinder Mounting Channel’ and the
‘SL Base Side’.
Click ‘Build’ and create a rule that uses the Width input.
Build the following rules using the Width and Length inputs:
Name Rule
SL Base Assembly Width & “-“ & Length
SL Bed Assembly Width & “-“ & Length
SL Bed Frame Width & “-“ & Length
SL Bed Cover Plain Width & “-“ & Length
Click ‘Back’ in the DriveWorksXpress navigation to return to the Rules Summary page.
32
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
DIMENSION RULES
Dimension rules allow you to automate your SOLIDWORKS models by taking information entered
on the Form, calculating a result and then sending it to the SOLIDWORKS model. This allows you
to control multiple dimesions at the same time using only a few inputs.
Deselect the check box next to ‘File Names’ and select ‘Dimensions’. Click ‘Next’ in the
DriveWorksXpress navigation.
The tables below show the name of each dimension and the rule that should be created for that
dimension.
33
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Deselect the ‘Dimensions’ check box and select the ‘Custom Properties’ check box. Click ‘Next’
in the DriveWorksXpress navigation.
To begin with select the Date Custom Property and click ‘Build’.
For this rule the Today() function will be used. This function will return the date at which the
model was generated. By default the function will return a date formatted in your local Windows
date format.
TIP: The returned date format can be changed using the Text() Function. The Text function will
take the information provided and convert it to the format specified. See examples below.
Have a play around to see what other formats you can achieve.
Build the following rules for the Date and Drawing Number Custom Properties:
Name Rule
Date = Today()
Drawing Number = OrderNumber & "-" & Left(CustomerName,3) & "-" & Width & "-" & Length
As with other rules in this tutorial, Ampersands (&) have been used to combine multiple values.
The Left() function has been introduced in the rule for the Drawing Number. This function takes
the given value, and returns the number of letters specified, starting from the left.
34
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
Finally, for the Drawn By Custom Property, a new control needs to be created.
Click ‘Back’ to return to the Rules Summary then click the Form Creation button.
Click the Rule Creation button and build the following rule for the Drawn By Custom Property:
Name Rule
Drawn By = CreatedBy
35
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
To view the modified SOLIDWORKS Drawing File for this new model, open the folder where all the
files have been saved to.
36
© DriveWorks Ltd All Rights Reserved 2015
www.driveworksxpress.com
www.driveworksxpress.com
37
© DriveWorks Ltd All Rights Reserved 2015