Skip to content

Commit

Permalink
FIX: Linux licenseclient path (#5032)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed Aug 12, 2024
1 parent 641d92f commit f572b8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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")
else:
ansysli_util_path = os.path.join(input_dir, "licensingclient", "winx64", "lmutil")

Expand Down

0 comments on commit f572b8a

Please sign in to comment.