Compatibility#
Server version compatibility#
PyACP is compatible with all versions of the ACP gRPC server since version 2024R2.
However, some features are not available when using older versions of the server. Version 2025R1 is the first full release of the ACP gRPC server, which makes almost all features of ACP available through PyACP.
Added in 2025R1#
The following features were added in version 2025R1 of the ACP gRPC server.
Tree objects#
Methods#
Other features#
Mesh attributes for classes other than the
Model
class.The
.shell_mesh
and.solid_mesh
attributes.
Upgrading PyACP#
The following section describes how to upgrade to newer versions of PyACP.
Upgrading from the beta version#
The beta version of PyACP did not yet provide a stable API. Consequently, some backwards-incompatible changes were made in the first stable release to improve the API.
If you encounter any difficulties upgrading from the beta version, feel free to open an issue on the PyACP GitHub repository.
Removed features#
The
ACPWorkflow
class for managing file up- and download was removed. Instead, file up- and download is now managed automatically by default. You can directly use theACPInstance.import_model()
method for importing models, and methods such asModel.save()
,Model.export_analysis_model()
, orModel.export_hdf5_composite_cae()
for saving / exporting data. See the file management section for more information.The
get_composite_post_processing_files
function was removed, since it only covered the shell workflow. Instead, you can directly use theansys.dpf.composites
API, as shown in the workflow examples.
New submodules#
Some features were moved into submodules instead of being exposed at the top level
ansys.acp.core
module:
Elemental, nodal, and mesh data types were moved to the
ansys.acp.core.mesh_data
submodule.The
example_helpers
submodule was moved to theansys.acp.core.extras
submodule.The
get_dpf_unit_system
function was moved to theansys.acp.core.dpf_integration_helpers
submodule.
Renamed classes#
The following classes were renamed:
ACP
renamed toACPInstance
.DrapingMaterialType
renamed toDrapingMaterialModel
.StatusType
renamed toStatus
.DimensionType
renamed toPhysicalDimension
.CutoffMaterialType
renamed toCutOffMaterialType
.CutoffRuleType
renamed toCutOffRuleType
.CutoffSelectionRule
renamed toCutOffSelectionRule
.CutoffSelectionRuleElementalData
renamed toCutOffSelectionRuleElementalData
and moved toansys.acp.core.mesh_data
.CutoffSelectionRuleNodalData
renamed toCutOffSelectionRuleNodalData
and moved toansys.acp.core.mesh_data
.PlyCutoffType
renamed toPlyCutOffType
.DropoffMaterialType
renamed toDropOffMaterialType
.
Renamed attributes#
The following attributes were renamed:
dimension_type
renamed tophysical_dimension
on theLookUpTable1DColumn
andLookUpTable3DColumn
classes.draping_type
renamed todraping
on theModelingPly
class.include_rule_type
renamed toinclude_rule
on all selection rule classes.relative_rule_type
renamed torelative_rule
on all selection rule classes.