I have created some code that will create a Folder in PDM. Next I want it to fill out the Folder Data Card. How do I tell IEdmEnumeratorVariable10 to access IEdmFolder5 so I can set the variables in the folder card? Thanks in advance for any help.
It's not obvious, but set your instance of IEdmEnumeratorVariable5 directly to your instance of IEdmFolder5. Like this...
' -- assuming you already have a folder instance named eFolder --
Dim eVar As IEdmEnueratorVariable5
eVar = eFolder
eVar.SetVar("Description", "", "THIS IS MY FOLDER DESCRIPTION", True)
eVar.Close(True) 'close the folder and save updates
Thanks Mike. I think I got it. Had to modify a couple things from your example.
Retrieving data ...