@@ -18,12 +18,27 @@ To connect to a Modeler instance, you can use the :class:`Modeler() <ansys.geom
1818which provides methods to connect to the desired CAD service. You can specify the connection parameters such
1919as the host, port, and authentication details.
2020
21+
2122.. code :: python
2223
2324 from ansys.geometry.core import Modeler
2425
2526 # Connect to a local Modeler instance
26- modeler = Modeler(host = " localhost" , port = 12345 )
27+ modeler = Modeler(host = " localhost" , port = 12345 , transport_mode = ... )
28+
29+ The ``transport_mode `` parameter can take several values depending on the type of connection you
30+ want to establish. You can refer to the `Securing connections `_ section for more details on the
31+ available transport modes.
32+
33+ .. warning :: Required ``transport_mode`` parameter
34+
35+ Starting from PyAnsys Geometry 0.14, the ``transport_mode `` parameter is required when using
36+ the ``Modeler() `` class. Only if the ``channel `` parameter is provided explicitly, the
37+ ``transport_mode `` can be omitted.
38+
39+ However, if you are using the :func: `launch_modeler() <ansys.geometry.core.connection.launcher> `
40+ function to launch a local Modeler instance, the ``transport_mode `` parameter is optional and
41+ defaults to the appropriate mode based on the operating system and environment.
2742
2843Connection types
2944----------------
@@ -37,13 +52,24 @@ differ in the environment in which the transport takes place:
3752 Modeler client connects to it over the network. This is useful for accessing
3853 Modeler instances hosted on remote servers or cloud environments.
3954
55+ .. _user_guide_connection_securing :
56+
4057Securing connections
4158--------------------
4259
4360When connecting to a remote Modeler instance, it is important to ensure that the connection
4461is secure, not only to protect sensitive data but also to comply with organizational
4562security policies. These secure connections can be established using various methods, such as:
4663
64+ .. warning :: Secure connection compatibility
65+
66+ Secure connections (mTLS, UDS, WNUA) are only available starting from Ansys release 24R2.
67+ However, some releases may require specific Service Packs to enable secure connection support.
68+ Starting from Ansys release 26R1, secure connections are available out-of-the-box without
69+ requiring additional Service Packs.
70+
71+ If you are using an Ansys release prior to 24R2, you must use insecure connections.
72+
4773- **mTLS **: Mutual Transport Layer Security (mTLS) is a security protocol that ensures both the client
4874 and server authenticate each other using digital certificates. This provides a high level of
4975 security for the connection. PyAnsys Geometry supports mTLS connections to Modeler instances. In that
0 commit comments