Skip to content
Open
Changes from 2 commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/ansys/motorcad/core/methods/rpc_methods_calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,11 @@ def create_winding_pattern(self):

Refreshes the UI to recreate winding pattern. Will be replaced by direct API call soon.
"""
if self.connection.check_version_at_least("2025.2"):
# Update parameters on the Winding Pattern page.
method = "RefreshWindingPattern"
return self.connection.send_and_receive(method)

# Retain for now, as still lots of work done in the UI on this tab.
self.display_screen("Scripting")
self.display_screen("Winding;Definition")
Loading