Skip to content

PyPrimeMesh CAD *.scdoc issue? #873

Answered by dkowollik
dkowollik asked this question in Q&A
Discussion options

You must be logged in to vote

Now, the following code works fine for me. I tested this with 0.8.0 and Ansys 25R2.

from ansys.meshing import prime
prime_client = prime.launch_prime()
model = prime_client.model
file_io = prime.FileIO(model)
import_params = prime.ImportCadParams(model=model)
file_io.import_cad(
        file_name='some_model.scdoc',
        params=import_params
    )
prime_client.exit()

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@dkowollik
Comment options

@aglowinski-danfoss
Comment options

@waltersma
Comment options

Comment options

You must be logged in to vote
3 replies
@waltersma
Comment options

@waltersma
Comment options

@dkowollik
Comment options

Answer selected by waltersma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants