Generation Tasks allow additional automation Tasks to be run on Parts, Assemblies and Drawings.
Only Queued model generation is supported. Generation Tasks will not work with OnDemand model generation.
Enabling a loop allows the sequence of Tasks to iterate through the Component or Drawing with each iteration producing unique results. This allows DriveWorks to perform Generative Modeling.
Generation Tasks are run before (Pre Drive) or after (Post Drive) the standard generation sequence.
This is essentially the driving of existing Files, Geometry and Meta-Data.
Generation Tasks perform Generative Modeling. This is the ability to add to Models or Drawings.
This could be, for example:
The Generation Tasks editor has three columns:
The Task Context column allows Generation Tasks to be run on individual Models and Drawings or every Model and Drawing.
By default the column displays the components in Model Specific view.
|Model Specific||Type Specific|
|This view allows Tasks to be run on:
||This view allows Tasks to be run on:
|A combination of Model Specific and Type Specific Tasks can be applied. |
Type Specific Tasks will run before Model Specific Tasks.
Switch to Type Specific view by clicking the column heading and selecting Type Specific.
Click the Type Specific button on the Command Bar.
Looping is available for the Model Specific Tasks.
When a Specification is released with Looped Tasks, release data is created for each loop.
Your Project can keep track of the loop count by applying the Special Variable Current Release Loop Index to your rules.
A loop is enabled by setting the Loop Count property to be greater than 1 in the Model Specific properties window.
Once a loop is enabled the loop icon next to the model turns green.
Also the Pre Drive Tasks and Post Drive Tasks, in the generation sequence, are enclosed within a box. This indicates that any Tasks in these areas are contained within each loop.
Replace rules on an Instance, in an Assembly, are only performed on the first loop. All other loops will ignore the replace rule.
Test Mode will display the result of the Replace rule on the first loop.
There are two areas where Generation Tasks can be added:
Pre Drive Tasks run after the Preparation sequence. This is after the cloned Model or Drawing has been opened in SOLIDWORKS, but before any driving of captured parameters has taken place.
Post Drive Tasks run after the Main Drive Sequence. This is after the cloned Model or Drawing has had its captured parameters driven, but before the Finish up... sequence takes place.
Tasks are added to the Pre Drive or Post Drive sequence by dragging from the Toolbox.
Once added, they can be reordered by using the Move icons on the Command Bar.
Tasks can be removed or change sequence by right clicking on the Task and selecting the appropriate option from the menu.
To add a Generation task:
If more than one Task has been applied all Tasks can be deleted by multi-selecting and using one of the above methods.
Tasks can be moved from Pre Drive to Post Drive (and Post Drive to Pre Drive) by:
Generation Tasks can be Copied and Pasted within the same Project or in another Project. To Copy a Task:
Generation Tasks can be Cut and Pasted within the same Project or in another Project.To Cut a Task:
Conditions are used to control whether specific Tasks in a Task Sequence are executed.
With the applied Generation Task selected, either:
See Generation Tasks - Condition Editor for more information.
|Change Unit System|
|Run SOLIDWORKS Macro|
|Set Custom Property|
|Set Hide All Types|
|Zoom To Fit|
|Create Angle Mate|
|Create Coincident Mate|
|Create Concentric Mate|
|Create Coordinate System Mate|
|Create Distance Mate|
|Create Profile Center Mate|
|Auto Arrange Dimensions|
|Create General Table|
|Delete Dangling Dimensions|
|Drive General Table|
|Export Drawing Table|
|Rescale And Position View|
|Set Annotation Position|
|Set Hide Dangling Dimensions|
|Drive Sketch Text Properties|
|Insert Decal On A NamedFace|
|Insert Library Feature|
|Part & Assembly|
|Drive Dimension Tolerance Limits|
|Show Named View|
DriveWorks Tech Tips Portal
Drive Config Specific Dimensions
Use the Create Configuration or Switch Configuration generation tasks to control configuration specific dimensions.
Create Image Generation Task
This Tech Tip demonstrates how to create images of generated assemblies, parts or drawings using generation tasks.
Drawing Control Generation Tasks
Use the Auto Arrange Dimensions, Auto Balloon View and Rescale and Position View generation tasks to control a driven drawing.
Insert Component Generation Task
This project demonstrates how to insert and define a component using Generation Tasks, and also how to use Looping to insert multiple components.
Insert Decal on Named Face
This Project demonstrates how to insert a decal onto a part using Generation Tasks.
Insert Library Feature Gen Task
This project demonstrates how Insert Library Feature can be applied to your models.