Professional Documents
Culture Documents
Contents
Introduction to DriveWorksXpress ..................................................................................................... 4
What can I do with DriveWorksXpress?......................................................................................... 4
About This Tutorial ........................................................................................................................ 5
Getting Started ................................................................................................................................. 7
DriveWorksXpress Navigation Bar .................................................................................................... 8
Activating DriveWorksXpress ............................................................................................................ 9
Activating DriveWorksXpress ...................................................................................................... 10
About the Shelf Model..................................................................................................................... 13
Basic Setup .................................................................................................................................... 14
Launching DriveWorksXpress ..................................................................................................... 14
Before You Begin ........................................................................................................................ 15
Create a New Database .............................................................................................................. 15
Capturing Models............................................................................................................................ 17
Capturing SOLIDWORKS Models ............................................................................................... 17
Capturing Dimensions and Features .............................................................................................. 21
Capture The Support Dimensions ............................................................................................... 22
Capture The Shelf Dimensions .................................................................................................... 24
Capture The Top Dimensions ...................................................................................................... 25
Capture The Side Panel Dimensions ........................................................................................... 26
Capture The Back panel Dimensions .......................................................................................... 26
Capture The Base Dimensions .................................................................................................... 26
Capture The Shelving Assembly Dimensions .............................................................................. 27
Capturing Drawings ........................................................................................................................ 28
Capturing Configurations ................................................................................................................ 29
Creating Input Forms ...................................................................................................................... 30
Adding Controls........................................................................................................................... 30
Test the Form ................................................................................................................................. 34
Rules Builder .................................................................................................................................. 35
File Name Rules ............................................................................................................................. 37
Building Multiple File Name Rules ............................................................................................... 38
Side Panels and Back Panel File Name Rule .............................................................................. 40
Configuration Rules ........................................................................................................................ 42
Dimension Rules............................................................................................................................. 44
2
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
3
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Introduction to
DriveWorksXpress
WHAT CAN I DO WITH 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. DriveWorksXpress
is used in many industries from trailers to conveyors, furniture to machinery, mechanical seals
to pressure vessels, windows and doors.
You can use DriveWorksXpress to automate your design process. Generate infinite
variations of a model from a rules-based project you set up once and run again and again.
4
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
The height, width, depth and number of shelves 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.
However, by using DriveWorksXpress, it is possible to reduce both the lead time and the cost
of custom designs to help companies to be more competitive and win more business.
To become a Certified DriveWorksXpress Associate you will need to complete the following
steps:
1. Complete the Shelving Unit Tutorial – follow the steps in the tutorial to build and
then run your own DriveWorksXpress Shelving Project.
During the online Certification, you will be given a series of changes to make to your
DriveWorksXpress Shelving Project. Then you will complete a test which will evidence
your understanding of DriveWorksXpress and test the mass of you of your newly
generated models.
On successful completion of the exam you will be emailed your certificate immediately.
If you don’t pass first time you will be able to retake the exam.
5
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
This tutorial is designed to help you to learn and become familiar with DriveWorksXpress
therefore we have created a range of resources to help you.
How to Videos – These videos have been designed to help guide you through the Shelving
Tutorial. For each new section in the tutorial there is a corresponding video. We advise you to
watch the video at the start of each section to get a good overview before you begin.
Tips, Notes & Concepts – Throughout this tutorial document you will notice boxes that contain
tips, notes and concepts. This information will help you to build a better understanding of
DriveWorksXpress. Many of the questions in the online exam can be found throughout the
manual. Therefore, we advise you read all the tips, notes and concepts as you go through the
tutorial.
Resources for Educators - If you are planning to teach the DriveWorksXpress Training and
Certification that is great news! We have created some resources to help you. You can download
the Educator Pack from the website and use the videos, presentation resources and guidance in
your sessions. http://www.driveworksxpresscertification.com/education.html
6
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Getting Started
Before you begin this tutorial, there are some SOLIDWORKS files that you must download
1. Download the required SOLIDWORKS project files for the shelving unit from the
DriveWorksXpress website: www.driveworksxpresscertification.com
2. Right click and ‘Extract All’ the files from this folder before beginning the training.
By following this DriveWorksXpress tutorial you will soon be automating your own designs in
SOLIDWORKS.
7
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
DriveWorksXpress
Navigation Bar
The DriveWorksXpress Navigation Bar allows you to access the different sections needed
to create and run a DriveWorksXpress project. You will navigate to each of the main
sections highlighted in the red box as you work through the tutorial.
The buttons in the main section will navigate you to the following areas: Welcome Page,
Captured Model Information, Form Creation, Rule Creation and Run Project.
Within each section you can use the Next and Previous buttons to navigate.
Tip:
If you get lost during the set up of your project and you can’t navigate to the place you
need to be, you can click on one of the main button. This will take back to the start of that
section where you can use Next and Previous buttons to navigate more specifically.
Example: If you get lost during the Form Design part of your project, click the ‘Form Creation’
button and then use the next and previous button to get back to the specific stage you
require.
8
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Activating
DriveWorksXpress
DriveWorksXpress is included in every seat of SOLIDWORKS. You’ll find
DriveWorksXpress by navigating to: The SOLIDWORKS tool bar > Tools > Xpress
Products > DriveWorksXpress.
Note:
The first time you use DriveWorksXpress in SOLIDWORKS, you may need to activate
DriveWorksXpress. Instructions on this can be found on the next page.
Tip:
9
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
ACTIVATING DRIVEWORKSXPRESS
1. Find your SOLIDWORKS Serial Number by navigating to: Help > About SOLIDWORKS
2. Click ‘Show Serial Number’ and copy it ready for step two.
10
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
3. Open DriveWorksXpress.
You will be asked to log into your My.SOLIDWORKS account and register
DriveWorksXpress with your SOLIDWORKS Serial Number.
4. Click the on the My.SolidWorks.com/Xpress link and follow the on-screen instructions.
If you don’t already have a My.SOLIDWORKS account, you will need to create one. Click
the link to create an account.
11
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
5. Once you’re logged in, you will get an Activation Code for DriveWorksXpress.
7. Paste the code into the activation window and click ‘OK’.
12
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
The DriveWorksXpress Project will quickly allow you to change the Height, Width and Depth of
the assembly. It will also give options for whether to include the Side Panels, Back Panel and
the quantity of Shelves.
Tip:
Take some time to explore the SOLIDWORKS Model before you begin the Tutorial. Think
about what needs to change in the model when changing the Height, Width, the depth, the
quantity of shelves etc.
Good knowledge about the product you are designing and how it might change equips you
with the logic to create a successful DriveWorks Project.
Doing this will help you understand the rules that need to be created in the
DriveWorksXpress Project to automate these changes.
Taking the height as an example. If we change the height then the length of the Supports,
the height of the Side Panels, the height of the back panel, the distance to the Top Shelf
and the distance between the Shelf pattern all need to change based on the overall height
of the Shelving Assembly.
13
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Basic Setup
LAUNCHING DRIVEWORKSXPRESS
1. Open SOLIDWORKS.
2. Click on the ‘Tools’ tab in the SOLIDWORKS menu bar. Go to Xpress Products and click
‘DriveWorksXpress’.
This launches DriveWorksXpress, which will open on the right hand side of the screen.
Run Models
14
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
1. In SOLIDWORKS, go to File > Open and browse to the location where you extracted the
training files.
3. Once the file has opened, save the file to update its SOLIDWORKS version to the version
that you are working on.
15
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
3. Browse to the location where you want to create your new database and name it ‘Shelving’.
Tip:
Save your Project in the same location where you extracted the SOLIDWORKS files.
16
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Capturing Models
CAPTURING SOLIDWORKS MODELS
This section of DriveWorksXpress will allow you to define which Models change and the
parameters within that model that could change. Once you have captured a model, you
can capture Dimensions, Features, Custom Properties, Drawings and
Configurations.
Once a parameter is captured, you can write Rules that determine how these parameters
can change. The result of these rules ‘drive’ the SOLIDWORKS Model to its new size.
There are three ways to select which models are to be captured and driven using
DriveWorksXpress:
17
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
3. Make sure ‘Browse for new model’ is selected and click ‘Next’.
6. Click ‘Open’.
Note:
Now that you have identified the Assembly that DriveWorksXpress will automate. You
need to tell it which Sub-Assemblies and/or Parts also need to be captured.
The DriveWorksXpress Task Pane will now show all of the options for capturing model
information of the Shelving Unit Assembly.
Note:
It is possible for these tabs to be dragged and compressed into one line in order to create
more work space in DriveWorksXpress, as shown below.
18
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
With a captured model open, you will have the following tabs displayed. Each of these
tabs allows you to capture a specific parameter to control in your model.
Captured Models
This shows the models that have been captured inside DriveWorksXpress.
Custom Properties
Any custom property that has been assigned in SOLIDWORKS can be captured and
driven by DriveWorksXpress.
You can drive existing configurations in the SOLIDWORKS Model. These can be captured
in this tab.
19
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
You only ever need to select the parts/assemblies that you want DriveWorksXpress to
control by checking the box next to each item. There is no need to capture parts or sub-
assemblies that won’t change.
Note: The top level assembly (Shelving Assembly) will already be checked.
For this Tutorial we will drive everything apart from the two Door Assemblies.
8. Make sure the checkboxes for the following Models are checked:
- Supports
- Shelf
- Base
- Top
- Side Panel
- Back Panel
20
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Capturing Dimensions
and Features
Concept – Capturing Dimensions and Features:
The Dimensions and Features tab allows you to choose which parameters from a model
or assembly you would like to capture and drive.
You will assign a descriptive name to the dimension or feature you have selected to make
writing rules easier.
The dimension or feature must be captured within the model, where it was created. For
example, if there is a dimension for a sketch within a shelf part, you must first open the
shelf part and then capture the dimension.
Process:
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.
Most dimensions can be found by double clicking the Sketch or Feature where the
dimension is used.
In the previous section, you captured the models. You can now begin the process of
capturing the parameters that you need to control within each model.
The following steps will guide you through the process of capturing dimensions and
features in DriveWorksXpress.
21
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
1. Click the ‘Captured Models’ tab near the bottom of the DriveWorksXpress task pane.
Note:
4. Using the SOLIDWORKS feature tree that is displayed on the left-hand side of
the screen, double click on the feature named ‘Boss-Extrude 1’.
Tip:
Make sure you select the blue‘1000’ to capture the dimension shown in the image above.
You will need to double click the Boss-Extrude 1 feature to make this dimension appear.
Note:
If you are having an issue selecting the dimension, check that Instant3D is turned off. You
can find this in the Features tab of SOLIDWORKS.
22
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
In the DriveWorksXpress Task Pane, the SOLIDWORKS Name for the dimension appears
in the text box labelled ‘Address’. In this example, it is called:
‘D1@Boss Extrude1@Supports.Part’.
7. Click ‘Add’.
Tip:
The captured dimensions can now be seen in the DriveWorksXpress Task Bar.
23
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
8. Click on the ‘Captured Models’ tab and double click ‘Shelf’ in the model tree.
9. Select the ‘Dimensions and Features’ tab at the bottom of the DriveWorksXpress Task
Pane.
Note:
You must capture the width and depth of the Shelf, the width of the cut out sections and
the distance between planes.
These all need to be controlled as they will need to change when new width is specified
for the Shelving Unit.
11. Capture the Width and Depth Dimensions using the values in the table below.
Tip:
Click the green tick in SOLIDWORKS to browse back to the Feature Tree. This may help
you to select the next dimension.
24
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
12. Click on ‘Captured Models’ and double click the ‘Top’ model from the model tree.
Tip:
The process is always the same for capturing a Dimension or Feature. Now that you have
followed this process a few times, simply continue to capture the Dimensions in the table
below.
Tip:
25
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
15. Click on ‘Captured Models’ and double click the ‘Side Panel’ model from the model tree.
16. Capture the following dimensions from the ‘Side Panel’ model:
17. Click on ‘Captured Models’ and double click the ‘Back Panel’ model.
19. Click on ‘Captured Models’ and double click the ‘Base’ model.
26
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
21. Click on ‘Captured Models’ and double click the ‘Shelving Assembly’ model.
23. Single click the Mirror Component. This will allow you to capture the mirror as a Feature.
24. Type ‘Side Panel Mirror’ in the DriveWorks Name and Click ‘Add’.
Your Captured Models list for the Shelving Assembly should now look like this:
27
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Capturing Drawings
Concept – DriveWorksXpress Drawings:
With DriveWorksXpress you can capture your SOLIDWORKS engineering drawings. This
means that when a new version of the model is generated using DriveWorksXpress, the
engineering drawing of that component will also update to match.
It is not possible to drive anything about the drawing such as scale or view positioning.
However, this is possible with DriveWorks Solo and DriveWorks Pro.
Process:
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 on the
‘Browse’ button to search your files for the corresponding SOLIDWORKS drawing and
bring it into DriveWorksXpress.
Note:
Concept:
28
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Capturing Configurations
Concept – DriveWorksXpress Configurations:
Process:
To capture the ability to control a SOLIDWORKS Configuration, first open the model using
DriveWorksXpress. Once the model is open, go to the Drawings and Configurations tab
and check the option next to ‘Yes, allow me to create a rule to switch configurations’.
- Base
- Shelf
- Top
- Side Panel
- Back Panel
Note:
29
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
In DriveWorksXpress you create an input Form where you will enter the values for your
new specification. Once you have set up your DriveWorksXpress Project you can add new
values in to your form again and again to specify and generate all the new parts and
drawings, based on the rules you set and values you enter.
ADDING CONTROLS
Tip:
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 give the control a descriptive name to tell the user what information
you want to capture i.e. Customer Name.
Type - Choose from five types of controls (inputs)
o Text Box: Input text directly by typing
o Numeric Text Box: Input numeric values. Specify a minimum and maximum value
o Drop Down: Provides a list of options to choose from
o Spin Button: Users can select from a range of numeric values. A maximum and a
minimum value, as well as the incremented value
o Check Box: Places a checkbox on the Form
Required – This tells DriveWorks and the user that a value must be entered in order to
proceed
Note:
For this Tutorial, you will create two Text Box Controls: Customer Name and Order
Number.
Later in the Tutorial you will build a rule to append the Customer Name and Order Number
to each file that DriveWorksXpress creates so that each set of new files in a specification
can be easily identified.
30
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Begin by adding a Text Box to the Form so a Customer Name can be entered.
5. Tick the ‘Required’ check box to ensure a Customer Name is entered for each new
specification.
6. Click the ‘Next’ arrow to register the control and display the Control List.
Note:
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.
31
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
7. Click ‘Add’ and repeat the steps to add the following Text Box controls:
Now add controls to specify the overall height, width and depth of the shelving unit using
Numeric Text Boxes, this allows a minimum and maximum value to be enforced.
8. Click ‘Add’ and repeat the steps to add the following Numeric Text Box controls:
To specify the number of shelves in the shelving model, a Spin Button can be used.
9. Click ‘Add’ and repeat the steps to add the following Spin Button control:
Control Name Type of Control Required Min Value Max Value Increment
Shelf Quantity Spin Button N/A 1 4 1
To allow the option of having side and back panels to the shelving unit, add the following
check box controls.
10. Click ‘Add’ and repeat the steps to add the following Check Box controls:
32
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
In order to select which SOLIDWORKS Configuration the generated models will be in, a
Drop Down Control can be used.
11. Click ‘Add’ and repeat the steps to add the following Drop Down control:
Tip:
To add a new option to a Drop Down Control, hold down shift and press enter. This will move
the cursor onto a new line, where you can then add the new option.
33
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Concept – Tooltips:
34
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Rules Builder
Concept – Rules:
DriveWorksXpress lets you use Excel style rules and formulas to automate your
SOLIDWORKS models. These rules can make use of many different functions to calculate
the value you require.
Tip:
You can request a Little Book of Rules for a great guide of the functions available to you in
DriveWorksXpress. To request your copy email info@driveworks.co.uk
1. Navigate to the Rules tab by clicking the ‘Rules’ button in the DriveWorksXpress Task Pane.
The Rules tab shows a summary of the types of rules you can build in DriveWorksXpress.
The summary also highlights, in red, any rules you need to write so that the project can
run.
35
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Tip:
Each rule type has a check box next to it. Check the box for the rule type you want to
build. It is possible to select more than one rule type at a time. If there are no Rules for a
particular type, the check box will not be enabled.
You can filter the rules which is helpful when there are a large number of rules to be built.
Before you begin to create your rules, here is a quick summary of the DriveWorksXpress
Rules Builder.
Inputs
o This drop down shows you the full list of controls that you have added to
your DriveWorksXpress Form. Your input rules will reference the values
typed in to the form controls.
Recent
o This is useful for building rules where your most commonly used text
strings or equations can be stored. This can make build
Math
o Mathematical operators (e.g. add, subtract, and divide) some of your rules
may require math symbols. You can use this tab to select them or you can
manually type the symbols in to the rule.
Logic
o Logical operators (e.g. IF, <, >, =). These help you when you are not as
familiar with building rules ensuring you format your rules as required. You
can also manually type logic rules in to the rules builder.
Tip:
If you need help with the rules builder, click on the to launch the DriveWorksXpress
help file.
36
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
File Name rules allow you to write a rule that determines the name of the SOLIDWORKS
files created by DriveWorksXpress.
In this Tutorial, you will relate the File Names to the Order Number and Customer Name
typed into the DriveWorksXpress form.
37
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
You can create the same rule for multiple models. Select each model in the list by holding
down the Ctrl key as you click on each of them then click Build
1. Multi-select all Rules except ‘Side Panel’ and ‘Back Panel’ and then click ‘Build’.
Note:
All the file names created for these models will need to be unique to that specification. The
file names should be populated with information that will allow the files to be easily
identified. For this tutorial, we will use the customer’s name and their order number within
the file name rule.
2. In the Rule Builder, select the ‘OrderNumber’ control from the Inputs tab.
This will now place the value from the control into the rule
38
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
5. Finish off the File Name rule by typing ‘CustomerName’ (or select ‘CustomerName’ from
the Input menu).
The completed rule should say: ‘OrderNumber & “-“ & CustomerName’
Note:
Tip:
The background of the rules builder will be white if your rule is valid. If the background
colour of the Rules Builder goes red, this means that the rule you have built is invalid.
This will cause you to get errors when you run your Project. Make sure the rule you are
building is valid before clicking OK.
6. Click ‘OK’ to confirm the rule and exit the Rules Builder.
39
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
The rule you will create will tell DriveWorksXpress if it should include the Side or Back
Panel models or not depending on what is specified on the Form.
You can use the File Name rules in DriveWorks to control whether a model is suppressed,
deleted or unsuppressed in the assembly.
If a file name results in the value ‘Suppress’, the model will be suppressed.
Similarly, if the result of a file name is ‘Delete’, the model will be deleted.
Tip:
The result of a Check Box Control will be TRUE if the check box is ticked, and FALSE if
the Check Box is unticked.
1. Select the ‘Side Panel’ file name rule and click ‘Build’ to open the Rules Builder.
2. Select the ‘IF ( , , )’ function from the ‘Logic’ tab and build the following rule for the Side
Panel:
Concept – IF Statements:
IF the ‘Side Panel’ check box is ticked, the Order Number will be displayed at the end of
the file name.
IF the ‘Side Panel’ check box has not been ticked, then the file will be deleted and will not
appear in the new version of the assembly.
40
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
3. Click ‘OK’ to save the rule and close the rules builder.
5. Select the ‘IF ( , , )’ function from the ‘Logic’ tab and build the following rule for the Back
Panel:
6. Click ‘OK’ to save the rule and close the rules builder.
7. Click ‘Back’ in the DriveWorksXpress navigation to return to the Rules Summary page.
41
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Configuration Rules
Concept – Configuration Rules:
Configuration Rules need to be built so that the rule results in the name of an existing
SOLIDWORKS configuration contained within the SOLIDWORKS model.
8. Uncheck the check box next to ‘File Names’ and select the check box next to
‘Configurations’.
Note:
Because we want each part of the Shelving Assembly to be the same material, we are
going to use the same rule for each of the Configuration Rules.
Tip:
You can hold down Shift and select the top and bottom rules to select every rule in
between.
We want to link the Configuration Rules to the ‘Material’ Drop Down Control on our
Form. We do this by selecting the Material Control from the Inputs Tab of the
DriveWorksXpress Rules Builder.
42
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
12. Click on the ‘Inputs’ Tab in the Rules Builder and select the ‘Material’ Control.
13. Click ‘OK’ to save the rule and close the Rules Builder.
14. Click ‘Back’ on the DriveWorksXpress Navigations Bar to return to the Rules Summary
page.
43
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Dimension Rules
Concept – 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
to generate a new model. This allows you to control multiple dimesions at the same time
using only a few inputs.
15. Uncheck the check box next to ‘Configurations’ and check the check box next to
‘Dimensions’.
The tables below show the name of each dimension and the rule that should be created
for that dimension.
17. Use the table on the next page to build rules for the captured dimensions.
Note:
Work through the table a row at a time. Find the ‘Rule Name’ in the list of rules, click
‘Build’ and type the rule as it displays in the table under the ‘Rule’ column.
Remember that you can use the Inputs drop down to select the Controls that are being
referenced
Tip:
Remember that identical Rules can be multi-selected and built at the same time.
Why not save yourself time and do this for Shelf Pattern Distance and Shelf Distance. You
can also do it for all of the Width, Height and Depth rules.
44
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Here is the table of rules that you need to build. Work your way through them using the
tips from the previous page.
45
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Feature Rules
Concept – Feature Rules:
Just like with Dimension rules, you can capture and write rules to control features in
SOLIDWORKS. Features can either be set to Suppress, Delete or Unsuppress.
1. Deselect the ‘Dimensions’ check box and select the ‘Features’ check box.
3. Highlight the ‘Side Panel Mirror’ feature and click ‘Build’ or double click on the rule to bring
up the Rules Builder.
Note:
IF the ‘Side Panels’ check box has been ticked, then the Feature will be shown when the
project is generated and therefore it will be automated when the project is run in
DriveWorksXpress.
Otherwise IF the ‘Side Panels’ check box has not been ticked the Feature will be
suppressed and will not be shown within the finished project.
5. Click ‘OK’ to save the rule and close the rules builder.
Note:
You have now completed the ‘Set Up’ stage of your first DriveWorksXpress Project.
In the next lesson, you will learn how to Run your Project and create new variations of the
Shelving Assembly again and again.
46
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Now that all the rules are written for the project,
new specifications can be created.
3. Click ‘Create’. DriveWorksXpress will now generate your new models and drawings.
47
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Tip:
48
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
To view the modified SOLIDWORKS Drawing File for this new model, open the folder
where all the files have been saved.
Note:
If your model doesn’t look right, but you have all green ticks in your Generation Report,
then chances are you have either captured the wrong dimension, or your rules are using
the wrong inputs to drive your model.
Green Ticks represent actions that have been performed by DriveWorks. Look through
them to see if any look wrong.
Note:
The way this project has been set up you are required to add unique order number each
time you run the Project. This is because the Order Number is included in the File Name
rules of each of the parts. DriveWorksXpress stores the names of the models it has
generated and if a duplicate is sent for generation, DriveWorksXpress will not generate it a
second time. This will save you even more time when running your specifications.
http://www.driveworksxpresscertification.com/
During the online Certification, you will be given a series of changes to make to
your DriveWorksXpress Shelving Project. Then you will complete a test which will
evidence your understanding of DriveWorksXpress and test the mass of you of
your newly generated models.
49
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
Appendix
BEST PRACTICES
Setting up Models for Automation
Certain types of models are better suited to design automation. When setting up models
for automation, consider how they fit into an assembly and how the parts might change
when automated.
Several planes have been created so that the sketches and features can be referenced to
them (coincident, up to surface, etc.) This allows the dimension for the plane to be
changed and the extrusion extended with it. When placed in an assembly, other
components can be mated to this plane so that they move with consideration to the parts
altered.
Using a coincident mate with the face could cause problems with more complex parts.
Planes have little effect on the part or assembly file size but do increase the stability of the
part during part configuration. Stability becomes increasingly important as part complexity
increases. This principle also applies to axes, although not ‘temporary axes’, which
disappear if the geometry disappears.
50
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
File Size
DriveWorksXpress creates new files which keeps file size to a minimum.
Ease of Use
New variations are easy to create. Customer-specific models and drawings are easy to
manage.
Scalability
Projects can be scaled and maintained as needs evolve over time.
Automated Drawings
Unique drawings for all parts and assemblies can be created automatically.
Rule Driven
Rules determine which calculation or value is required to drive a given parameter. Rules
and calculations that affect multiple parts and assemblies are easily linked in the rule
editor.
GUIDELINES
DriveWorksXpress Database
Database names must be unique.
Files can be shared between projects but not between databases.
You can create separate databases for each model. If your models use parts that
have the same file name but are totally different, they must be stored in different
databases.
You can store your project information on a network drive for other users to
access. All DriveWorksXpress SolidWorks files must have the same referenced
location for each SolidWorks user, for example: M:\DriveWorksXpress\ModelA\.
Dimension Values
When you run a specification, use the same dimension units (metric/imperial) that were
used to create the part in SolidWorks. If the model was created in one unit type and the
input values are in another, your rules must provide for conversion between the units.
File Management
Storage for New Models
Model variations (clones) are stored in the same location as their corresponding master
models. The cloned models are typically the same size as the master file, although the
size can be reduced by automatically deleting unused features and subassemblies.
Naming
Assign unique names to all the master models that you intend to drive or control.
Give assemblies different names than their child parts.
When naming parameters or form controls, it is good practice to avoid special
characters such as @ , or <.
Do not give a custom property the same name as a captured dimension or feature.
Deleting Files
Deleting a parent deletes its children; deleting a child does not delete the parent.
You can delete the top level assembly only from the model list.
52
© DriveWorks Ltd All Rights Reserved 2016
www.driveworksxpress.com
53
© DriveWorks Ltd All Rights Reserved 2016