Skip to content

Commit

Permalink
Update 242 from 232 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinknair authored Jan 22, 2024
1 parent 9d38241 commit ae9be85
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 PyAnsys
Copyright (c) 2024 PyAnsys

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ \subsection{References from PyMechanical and Mechanical documentation}
\noindent\makebox[\linewidth]{\rule{\paperwidth}{3pt}}
\begin{center}
Getting started with PyMechanical \includegraphics[height=\fontcharht\font`\S]{slash.png} \href{https://github.com/ansys/pymechanical}{\color{blue}{PyMechanical on GitHub}}
\includegraphics[height=\fontcharht\font`\S]{slash.png} Visit \code{\href{https://mechanical.docs.pyansys.com/}}{\color{blue}{mechanical.docs.pyansys.com}}
\includegraphics[height=\fontcharht\font`\S]{slash.png} Visit \href{https://mechanical.docs.pyansys.com/}{\color{blue}{mechanical.docs.pyansys.com}}
\end{center}
\end{document}
10 changes: 5 additions & 5 deletions cheat_sheets/pymechanical_cheat_sheet/pymechanical_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
mechanical = pymechanical.launch_mechanical()
# BREAK BLOCK
# Standalone Mechanical from a local or remote terminal
ansys-mechanical -r 232 --port 10000 -g
ansys-mechanical -r 241 --port 10000 -g
# BREAK BLOCK
import ansys.mechanical.core as pymechanical
# #Note: The following code uses port 10000, but you can specify an alternative port if required.
Expand All @@ -20,8 +20,8 @@
# BREAK BLOCK
from ansys.mechanical.core import find_mechanical

wb_exe = find_mechanical(232)[0]
# 'Ansys Inc\\v232\\aisol\\bin\\winx64\\AnsysWBU.exe'
wb_exe = find_mechanical(241)[0]
# 'Ansys Inc\\v241\\aisol\\bin\\winx64\\AnsysWBU.exe'
mechanical = launch_mechanical(
exec_file=wb_exe, verbose_mechanical=True, batch=True)
print(mechanical)
Expand Down Expand Up @@ -70,7 +70,7 @@
# BREAK BLOCK
from ansys.mechanical.core import App

app = App(version=232)
app = App(version=241)
print(app)
# BREAK BLOCK

Expand Down Expand Up @@ -100,5 +100,5 @@
Logger)

Configuration.configure(level=logging.WARNING, to_stdout=True)
app = App(version=232)
app = App(version=241)
Logger.error("message")
6 changes: 1 addition & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
"image/svg+xml",
]

from ansys_sphinx_theme import (
__version__,
ansys_favicon,
ansys_logo_black,
)
from ansys_sphinx_theme import __version__, ansys_favicon, ansys_logo_black

# Project information
project = "ansys_sphinx_theme"
Expand Down

0 comments on commit ae9be85

Please sign in to comment.