I am new to the PDMWorks Enterprise API, and am developing astandalone C# application that logs into a PDMWorks Enterprisevault and retrieves vault information.
Looking through the API documentation, I have not been able to finda method to retrieve a list of data cards defined for a particularvault. So far my method looks like this:
EdmVault5 vault = new EdmVault5();
vault.Login("username", "password", "vaultname");
IEdmPos5 pos = folder.GetFirstFilePosition();
if (pos.IsNull)
message = "The root folder of your vault does not contain anyfiles";
else
message = "The root folder of your vault contains files";
Does anyone know if there is there a method I could use to obtain alist of vault data cards with the name, type, and file extensionsfor each card?SolidworksApi macros
Looking through the API documentation, I have not been able to finda method to retrieve a list of data cards defined for a particularvault. So far my method looks like this:
EdmVault5 vault = new EdmVault5();
vault.Login("username", "password", "vaultname");
IEdmPos5 pos = folder.GetFirstFilePosition();
if (pos.IsNull)
message = "The root folder of your vault does not contain anyfiles";
else
message = "The root folder of your vault contains files";
Does anyone know if there is there a method I could use to obtain alist of vault data cards with the name, type, and file extensionsfor each card?SolidworksApi macros
2
SF 2009-04-23 Best Answer
You may have to pull this information from the SQL databasefor the vault. I see a Cards and CardExtensions tables that shouldcontain this info.
SF 2009-04-23
Thank you, those two tables do contain the information Ineed. I can pull the information from there.
