Share Topology with V0.6.6 #1468
-
Hi All, What is the recommended way to use the PrepareTools.share_topology method? I get "self undefined" errors when I attempt to use it based on the documentation
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Here is a script that would show you how to call it. Your main issue is related to the way that the # Launch a Modeler session with your desired product
modeler = launch_modeler()
# Create your design
design = modeler.create_design("MyDesign")
# Perform your modeling operations
...
# Perform your request
a = modeler.prepare_tools.share_topology(design.bodies)
print(a) The |
Beta Was this translation helpful? Give feedback.
Hi @JonathonMcMullan - please install
ansys-geometry-core==0.7.4
whenever you have the chance. This will allow you to get access for the shared topology on 24R2. Release has just been triggered so it might take some minutes if installation fails on your side.In order to install it, with your virtual environment active, run the following:
pip install 'ansys-geometry-core==0.7.4'
Let me know if it works!