Introduction To CATIA Parameters and Automation
Introduction To CATIA Parameters and Automation
Introduction To CATIA Parameters and Automation
Tom Swindell
IBM PLM Technical Support
Topics
• Constraints
• Parameters
• Creating Formulas from Parameters
• Creating Design Tables from Parameters
• Creating Catalog from Design Tables
Constraints
• To create a Pad (solid) in V5, the Sketcher workbench is used.
• A sketch is created on a 2D plane in 3D space.
• The geometry is ‘sketched’ roughly in position using various tools.
Adding Constraints to a Sketch
• Since geometry is roughly sketched, it must be modified to
capture design intent.
• Geometry can easily be modified by applying / changing
constraints.
• Contextual horizontal and vertical constraints are added first.
Other contextual constraints include, parallel, concentric,
coincident, etc.
• Dimensional constraints, similar to dimensions, are added next.
Sketch with Constraints Added
• Fully constrained geometry turns green. Dimensional Constraints
Contextual Constraints
Sketch with Constraints Added
• Constraints can be easily modified by double-clicking and
changing the values.
• Geometry is automatically updated.
Sketch with Constraints Modified
Parameters
• Constraints are the starting point for automation.
• Constraints are made up of Parameters.
• The Formula function is used to work with the constraint
Parameters.
• The function is included with base CATIA configurations.
Editing Parameters of Constraint
• Renaming PartBody\Sketch.1\Length.13\Length….
Editing Parameters of Constraint
• …. to block_length
• This makes the parameter easier to find and gives it a
functional name that can be used later.
Editing Parameters of Constraint
• We can use constraints to control other constraints using
Formula Editor.
• Examples:
Set one constraint = to another
Set one constraint = to another/2
etc..
• Right-click constraint.