Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Linux licenseclient path #5032

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions doc/source/User_guide/postprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To use PyAEDT to create a report in AEDT, you can follow this general structure:

from pyaedt import Hfss
hfss = Hfss()
hfss.analyze_nominal()
hfss.analyze()
hfss.post.create_report(["db(S11)", "db(S12)"])


Expand All @@ -26,7 +26,7 @@ You can also generate reports in Matplotlib:

from pyaedt import Hfss
hfss = Hfss()
hfss.analyze_nominal()
hfss.analyze()

traces_to_plot = hfss.get_traces_for_plot(second_element_filter="P1*")
report = hfss.post.create_report(traces_to_plot) # Creates a report in HFSS
Expand All @@ -46,7 +46,7 @@ To access all available category, use the ``reports_by_category`` class.

from pyaedt import Hfss
hfss = Hfss()
hfss.analyze_nominal()
hfss.analyze()
# Create a 3D far field
new_report = hfss.post.reports_by_category.far_field(expressions="db(RealizedGainTotal)",
setup=hfss.nominal_adaptive)
Expand All @@ -58,7 +58,7 @@ You can plot the field plot directly in HFSS and export it to image files.

from pyaedt import Hfss
hfss = Hfss()
hfss.analyze_nominal()
hfss.analyze()

cutlist = ["Global:XY"]
setup_name = hfss.existing_analysis_sweeps[0]
Expand All @@ -82,7 +82,7 @@ PyAEDT leverages PyVista to export and plot fields outside AEDT, generating imag

from pyaedt import Hfss
hfss = Hfss()
hfss.analyze_nominal()
hfss.analyze()
cutlist = ["Global:XY"]
setup_name = hfss.existing_analysis_sweeps[0]
quantity_name = "ComplexMag_E"
Expand Down
2 changes: 1 addition & 1 deletion pyaedt/generic/general_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ def available_license_feature(
input_dir = list(installed_versions().values())[0]

if is_linux:
ansysli_util_path = os.path.join(input_dir, "licensingclient", "Linux64", "lmutil")
ansysli_util_path = os.path.join(input_dir, "licensingclient", "linx64", "lmutil")
Samuelopez-ansys marked this conversation as resolved.
Show resolved Hide resolved
else:
ansysli_util_path = os.path.join(input_dir, "licensingclient", "winx64", "lmutil")

Expand Down
Loading