Author:gehairing
Posted: Fri Oct 23, 2015 5:43 pm (GMT+1)
Hi all![Smile]()
I want to register library parts that i receive from a distant server as .gsm files. I copy the gsm file locally on the computer and then i want to "register" the libpart.
This works if i give the "typeID" and the path to the local file like here :
But...it doesn't work anymore when i don't provide the typeID.
I mean...the libPart.location information is not enough.
How can i know what is the typeID of a libpart in a gsm file ?
Posted: Fri Oct 23, 2015 5:43 pm (GMT+1)
Hi all

I want to register library parts that i receive from a distant server as .gsm files. I copy the gsm file locally on the computer and then i want to "register" the libpart.
This works if i give the "typeID" and the path to the local file like here :
Code: |
libPart.typeID = APILib_ObjectID; libPart.location = &myGsmFilePath; err = ACAPI_LibPart_Register(&libPart); if(err == NoError) { ... } |
But...it doesn't work anymore when i don't provide the typeID.
I mean...the libPart.location information is not enough.
How can i know what is the typeID of a libpart in a gsm file ?