is there a way to get the Parent_Folder_ID from the file-ID ? At the end i need the Folder-Path but every
api command to get the Folder Path Needs the Folder-ID ?
Thanks for all help !!
it seems that there is no other way to get the folder.
After you got the folder you will need to get the local path like this: http://help.solidworks.com/2016/english/api/epdmapi/EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmFile5~GetLocalPath.html
2016 SOLIDWORKS API Help - GetLocalPath Method (IEdmFile5)
2016 SOLIDWORKS API Help - LocalPath Property (IEdmFolder5)
Kind regards, Carsten
Ok, I think this is my solution.
Dim vault As EdmVault5Dim bool As BooleanDim file As IEdmFile10
Dim folder As IEdmFolder5Dim folder_pos As IEdmPos5
Set vault = CreateObject("ConisioLib.EdmVault.1")vault.LoginAuto "KELLER-PDM", 0
Set file = vault.GetObject(EdmObject_File, 589307)
Set folder_pos = file.GetFirstFolderPositionSet folder = file.GetNextFolder(folder_pos)
Anyway other solutions would be interesting !
Retrieving data ...