Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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.
if install issue: Did you try from the UI persepctive?
Also, what type of file do you deal with?
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)
Do you capture the error returned by the function?
yes
-2 : BAD_INPUTS
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:
one way to troubleshoot is to hardcode progressively and pin down the issue
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?
Hi @MadhaviG,
Check all the systems are Same version of Creo with Same Datecode.