ansys / pyaedt

AEDT Python Client Package
https://aedt.docs.pyansys.com
MIT License
185 stars 107 forks source link

Make sorting optional for `DataSet.update()` #4801

Closed nathmay closed 1 month ago

nathmay commented 1 month ago

Description of the feature

The update() method in application.Variables.DataSet class sorts the dataset by it's X coordinate values - both for 1D and 3D datasets. While this makes sense for 1D, could be problematic for 3D datasets. I was only updateing the v column of a 3D dataset, and seeing weird results because of this :)

Steps for implementing the feature

Useful links and references

No response

Samuelopez-ansys commented 1 month ago

Hi @nathmay, please could you provide a 3D Dataset just to check the new code is working as expected?

Thanks!

Samuelopez-ansys commented 1 month ago

@nathmay Please try: https://github.com/ansys/pyaedt/pull/4803