Problems importing SolidWorks or NX CAD files with NamedSelections #1474
-
Dear PyAnsys Developers, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
How are you creating the named selections? I'm honestly not sure that we support named selections directly from SolidWorks or NX without any use of Workbench. You could always just create the named selections in your PyAnsys Geometry script after you import (Example: https://geometry.docs.pyansys.com/version/stable/examples/01_getting_started/04_modeling.html#Create-a-named-selection). |
Beta Was this translation helpful? Give feedback.
-
Then you might be right. I am using the named selection manager, that comes as a plugin for SolidWorks from Workbench. |
Beta Was this translation helpful? Give feedback.
That is expected - using PyAnsys Geometry you have several export methods which you can see in this link: https://geometry.docs.pyansys.com/version/stable/examples/03_modeling/export_design.html#Export-the-design
However, if you want to do it directly on the GUI, you will need to specify a dedicated environment variable on your system called
SPACECLAIM_MODE
and set it to 0 or 1. PyAnsys Geometry will set it to 2 by default if it is not defined by the user on env variables, which uses the Parasolid backend. For exporting to scdoc, you need the ACIS backend specified (0 or 1, I'm currently not sure). This is only available starting on 0.7.4 version.