Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Problem reading ProE parts with version

vjirgale

New member
hi,

I want to load Pro/E models from filename through a jlink
program.
Usually Pro/E models are saved with version extensions
like
.1,.2 etc.

Requirement is that the program should be able to open
these versioned models separately.
Is there any way ?

I am following steps given below,
1. Create a ModelDiscriptor using,
pfcModel.pfcModel.ModelDescriptor_Create() function

2. Retrieve model in session using,
pfcsession.RetrieveModel(ModDesc) function.

I get error(exception : XUnknownModelExtension ) in step
1 when I try to use model filename as
A.prt.1 and A.prt.2 etc. instead of A.prt

Can anybody help with a solution ?

Thanks in advance.

Vinay
 

Sponsor

Articles From 3DCAD World

Back
Top