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

Creo 7: interface/export_3dpdf error #56

Closed
Zepmanbc opened this issue Dec 3, 2020 · 6 comments
Closed

Creo 7: interface/export_3dpdf error #56

Zepmanbc opened this issue Dec 3, 2020 · 6 comments

Comments

@Zepmanbc
Copy link

Zepmanbc commented Dec 3, 2020

Hello
There is an error with this feature in Creo 7, everything is fine with Creo 4

A Pro/TOOLKIT error has occurred: Invalid Type. Check your model/drawing for accuracy.

Here are the logs for an ASM and a PRT
DEBUG:creopyson.connection:request: {'sessionId': '-3252187263195934486', 'command': 'interface', 'function': 'export_3dpdf', 'data': {'file': 'my_assembly.asm'}}
DEBUG:creopyson.connection:response: {'status': {'error': True, 'message': 'A Pro/TOOLKIT error has occurred: Invalid Type. Check your model/drawing for accuracy.'}}

DEBUG:creopyson.connection:request: {'sessionId': '-3813609087025057415', 'command': 'interface', 'function': 'export_3dpdf', 'data': {'file': 'my_part.prt'}}
DEBUG:creopyson.connection:response: {'status': {'error': True, 'message': 'A Pro/TOOLKIT error has occurred: Invalid Type. Check your model/drawing for accuracy.'}}

@davidhbigelow
Copy link
Contributor

davidhbigelow commented Dec 3, 2020 via email

@Zepmanbc
Copy link
Author

Zepmanbc commented Dec 3, 2020

I use the special code, but you means it needs another special code?

@adama2000
Copy link
Contributor

adama2000 commented Dec 3, 2020 via email

@adama2000
Copy link
Contributor

I didn't get this error with a test assembly I tried. Can you send me a test model that causes the issue?

@Zepmanbc
Copy link
Author

Just tried with a simple file and draw, it works.
It must fail because of the size of my files, the problem is that it works on Creo4 with the same files...
I cannot send you theses files...
I will try to investigate by myself

@Zepmanbc
Copy link
Author

Just found! It is my fault 😅
When I launch my script, Creoson automaticaly startup.
But this is the Creoson settings for my main Creo installation (Creo4)
If I launch manualy Creoson with Creo7 settings all is OK

With Creo7 and Creoson settings Creo4, all other functions works well, that is why I did not notice the mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants