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.
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)
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?
Check all the systems are Same version of Creo with Same Datecode.