Closed filoriccardo closed 11 months ago
That error comes from Creo. Are you able to do a file-open of that file in Creo, or do you have to do an import?
Would it work if the file's extension was ".ct" which I think is the normal Catia file extension?
Adam Andrews
On Thu, Nov 4, 2021 at 12:17 PM filoriccardo @.***> wrote:
Hello to everybody,
I'm trying to open CATIA V5 file (.CATPart, .CATProduct) using creopyson.
`# creates a connection with creoson server c = creopyson.Client()
c.connect() c.creo_set_creo_version(7) c.server, c.sessionId basic Workdirectory handling
c.creo_cd("...\Cover_impermeabile_3.0") c.creo_pwd(), c.creo_list_dirs() selects working directory
c.creo_cd("demo") c.creo_list_files()
c.file_open('cover_impermeabile.CATProduct')`
it returns: "Error: Unknown Model Extension"
Is there any solution?
Thanks all
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/75, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPCI6IN47ZEQ6T65H3TUKKW27ANCNFSM5HL2Y7YQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
CATIA extensions are .CATPart (for .prt) and .CATProduct (for .asm) but I don't think you can open it like this with Creoson. You should try with a mapkey.
Hello to everybody,
I'm trying to open CATIA V5 file (.CATPart, .CATProduct) using creopyson.
`# creates a connection with creoson server c = creopyson.Client()
c.connect() c.creo_set_creo_version(7) c.server, c.sessionId
basic Workdirectory handling
c.creo_cd("...\Cover_impermeabile_3.0") c.creo_pwd(), c.creo_list_dirs()
selects working directory
c.creo_cd("demo") c.creo_list_files()
c.file_open('cover_impermeabile.CATProduct')`
it returns: "Error: Unknown Model Extension"
Is there any solution?
Thanks all