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

hole pattern named selection from space claim not found by pyprime #665

Open
2 tasks done
mcMunich opened this issue Nov 29, 2023 · 3 comments
Open
2 tasks done

hole pattern named selection from space claim not found by pyprime #665

mcMunich opened this issue Nov 29, 2023 · 3 comments
Assignees
Labels
aps Anything related to Ansys Prime Server limitation Current limitation

Comments

@mcMunich
Copy link

mcMunich commented Nov 29, 2023

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

I created a simple geometry in spaceclaim with patterned bolt holes and set them to a named selection. However I don't see tham in the pyprime output.
image

pyrprime output: 4 Label(s)
Names: [bladecir, boltcir, c1, shaftdia]

📝 Steps to reproduce

Load model in pyprime and print out labels.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

232

🐍 Which Python version are you using?

3.11

📦 Installed packages

x

2BladeHubModel3m.zip

@mcMunich mcMunich added the bug Something isn't working label Nov 29, 2023
@waltersma
Copy link
Contributor

waltersma commented Dec 4, 2023

@mcMunich this is a limitation of importing using SpaceClaim reader. If you change the cad reader route to WORKBENCH you will see these pattern selections imported as expected as labels.

For example,
prime.FileIO(model).import_cad("my_geom.scdoc", prime.ImportCadParams(model, cad_reader_route=prime.CadReaderRoute.WORKBENCH))

I hope this helps! Thanks

@waltersma waltersma added limitation Current limitation and removed bug Something isn't working labels Dec 4, 2023
@waltersma waltersma self-assigned this Dec 4, 2023
@ragulselvaraj20
Copy link

I am also getting the same problem. hai @mcMunich , have your problem solved?

@waltersma
Copy link
Contributor

Hi @ragulselvaraj20, did you try the suggested workaround? Did this resolve your issue?

@waltersma waltersma added the aps Anything related to Ansys Prime Server label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aps Anything related to Ansys Prime Server limitation Current limitation
Projects
None yet
Development

No branches or pull requests

3 participants