How to get the TypeID of a .gsm file
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-10-23
06:43 PM
- last edited on
2023-07-13
02:59 PM
by
Doreena Deng
2015-10-23
06:43 PM
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 :
I mean...the libPart.location information is not enough.
How can i know what is the typeID of a libpart in a gsm file ?

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 :
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 ?
Labels:
- Labels:
-
Add-On (C++)
0 REPLIES 0