CAD Software Guides

PTC Creo Automation for Parametric Engineering Workflows

Creo pioneered parametric CAD. Its built-in parametric tools and APIs make it ideal for automating product families and engineer-to-order work.

Built-in parametric tools

ToolUse
Parameters and relationsDrive dimensions and properties with formulas
Family tablesTabular variants of parts and assemblies
Pro/PROGRAMConditional logic: include or exclude features and components
MapkeysRecord and replay command sequences
Skeleton modelsTop-down design with controlled references

Relations example

/* Creo relations: size a shaft from torque */
D_SHAFT = CEIL( (16 * TORQUE * 1000 / (PI * TAU_ALLOW))^(1/3) )
d12 = D_SHAFT
IF LENGTH > 1200
   KEYWAY_COUNT = 2
ELSE
   KEYWAY_COUNT = 1
ENDIF
DESCRIPTION = "SHAFT D" + ITOS(D_SHAFT) + " L" + ITOS(LENGTH)

Going further with APIs

When built-in tools are not enough, Creo's APIs add user interfaces, database and ERP connections, batch processing and complex logic:

  • J-Link / Object TOOLKIT Java: common automation tasks in Java.
  • VB API: automation from .NET applications on Windows.
  • TOOLKIT / Object TOOLKIT C++: deepest access and best performance.

Parametric workflows to automate

  • Product configurators generating assemblies from options.
  • Drawing creation and update for each variant.
  • Automatic BOMs and exports to Windchill and ERP.
  • Batch updates of parameters across model libraries.
  • Model checks with ModelCHECK plus custom rules.

Windchill integration

Automation often works with Windchill: creating new objects with correct numbering, saving generated variants into the right context and triggering publishing of PDFs and viewables.

Creo's parametric foundations plus automation make product families almost self-designing.

Creo automation with ENGIMANDI

See PTC Creo customisation, Creo TOOLKIT development and parametric CAD design automation.

EM
ENGIMANDI CAD Team

We build CAD add-ins, automation and integrations for engineering and manufacturing companies worldwide.