Skip to content

FEAT: Adding new method for connecting to Mechanical instance#980

Merged
dipinknair merged 4 commits into
mainfrom
feat/add-api-remotesession
Nov 18, 2024
Merged

FEAT: Adding new method for connecting to Mechanical instance#980
dipinknair merged 4 commits into
mainfrom
feat/add-api-remotesession

Conversation

@dipinknair

Copy link
Copy Markdown
Collaborator

If an instance of Mechanical is already running in specific port, this allows to connect to that using ansys.core.mechanical.Mechanical

ex:

Connect to an existing Mechanical instance at IP address ``192.168.1.30`` on port
``50001``..


>>> from ansys.mechanical.core import connect_to_mechanical
>>> pymech = connect_to_mechanical(ip='192.168.1.30', port=50001)

@dipinknair dipinknair changed the title FEAT: Adding nee method for connecting to Mechanical instance FEAT: Adding new method for connecting to Mechanical instance Nov 15, 2024
@github-actions github-actions Bot added the enhancement New features or code improvements label Nov 15, 2024
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 15, 2024
@dipinknair dipinknair marked this pull request as ready for review November 15, 2024 21:57
@dipinknair dipinknair requested a review from a team as a code owner November 15, 2024 21:57
@codecov

codecov Bot commented Nov 15, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.21%. Comparing base (21ff37c) to head (6ad4871).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #980      +/-   ##
==========================================
- Coverage   82.24%   82.21%   -0.03%     
==========================================
  Files          35       35              
  Lines        2253     2255       +2     
==========================================
+ Hits         1853     1854       +1     
- Misses        400      401       +1     
---- 🚨 Try these New Features:

@dipinknair dipinknair enabled auto-merge (squash) November 18, 2024 20:18
@dipinknair dipinknair merged commit 87e3da7 into main Nov 18, 2024
@dipinknair dipinknair deleted the feat/add-api-remotesession branch November 18, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New features or code improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants