cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

Highlighted
Garnet

Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

Hi,

 I am importing models using ProIntfimportSourceTypeGet() and ProIntfimportModelWithOptionsMdlnameCreate.

Function ProIntfimportSourceTypeGet() works properly on 3 out of 5 machines.

But for same model it returns error on other 2 machines.

Code is same and model to import is same.

My guess : some libs. are missing from those 2 machines. In short there might be some installation gap.

I am sure somebody must have used the import functionality before so

any help would be appreciated.

 

 

Tags (1)
7 REPLIES 7
Highlighted

Re: Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

if install issue: Did you try from the UI persepctive?

Also, what type of file do you deal with?

Highlighted

Re: Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

I can import it manually from UI. But does it use same libraries which are provided for Toolkit?

I am dealing with files from SolidDesigner ( for example with ext. .sdpc)

 

Highlighted

Re: Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

Do you capture the error returned by the function?

 

Re: Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

yes 
-2 : BAD_INPUTS

Highlighted

Re: Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

ok bad inputs means that one of several of the arguments you put in the function have something wrong.

you may start troubleshooting there.

regular issues for bad inputs may include but are not limited to:

  • string is too long
  • unsupported characters

one way to troubleshoot is to hardcode progressively and pin down the issue

Highlighted

Re: Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

yah that is the plan but what confuses me is

same file and same code works on one machine but on another machine it gives error.

If it is issue with parameters then shouldn't it be a problem on all machine?

Highlighted

Re: Toolkit C++ : prerequisites for ProIntfimportSourceTypeGet

Hi @MadhaviG,

Check all the systems are Same version of Creo with Same Datecode.

Announcements