- Recorded scripts are not portable between models. Every object in the tree, and every geometry element, carries an internal ID, and that ID will differ from one model to the next. A script generated by recording on Model A will typically not run correctly, unmodified, on Model B.
- Not everything gets recorded. Recording is still under active development, and some workflows simply won’t be captured.
- Code from unpublished API may change in future Mechanical versions, since it isn’t part of the officially supported, stable API surface.
- A Python Code Object can insert a command that runs before solving, is typically used to perform calculations (rather than to display results on the model), and can be inserted essentially anywhere in the tree.
- A Python Result Object can only be inserted under Solution, and comes in two flavors: a Script, used to extract, manipulate, and display results (built on top of DPF, Ansys’s data processing framework), and a Property Provider, used to customize the Details view — for example, giving results custom names or properties.










