Best practices#
This section provides examples of best practices to use when building your solution.
Essential rules for writing correct SAF modules.
Implement the business logic in your solution.
Stateless design, file naming, and field defaults.
When to merge or split steps in your workflow.
Design the dependency graph between fields and steps.
Define typed step fields and supported data types.
Transaction types, cross-step reads, progress streaming, and decorator order.
Manage solution files and avoid common file handling errors.
Follow recommended patterns for reliable and maintainable file management with BDM.
Manage Ansys product instance lifecycles correctly.
Properly access environment variables in your solution.
Dash callbacks, project injection, and UI component choices.
Learn to define, access, and modify dictionary step fields.
Learn how to use Ansys products within your solution.