Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


Register Today
COE 2009 Annual PLM Conference & TechniFair

COE DISCUSSION FORUM
Subject: How to get the file name from the vault?

You are not authorized to post a reply.   
Author Messages
jlachapelle

28 Oct 2008 10:31 AM

I need to get from smarteam the file name in the vault of a specified object. If I add a CatPart named : 12345.CATpart in smarteam, it's name will be 12345-xxx-xxxx.catpart in the smarteam vault. I need a way to get this name in smarteam, do you have any idea how?

JOBY


28 Oct 2008 02:16 PM
Try something like this:
____________________________________________
Dim SingleObject As ISmObject

'get the object somehow

ChildFileName = SingleObject.Data.Value("CAD_REF_FILE_NAME") ' this is the name you're looking for
ChildVaultFileName = SingleObject.Data.Value("FILE_NAME") 'This is the "vault" file name

Good luck!
~Joe

View Joe Burch's profile on LinkedIn
You are not authorized to post a reply.
Forums > COE Forums > SmarTeam > How to get the file name from the vault?



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)