AnsweredAssumed Answered

PDMWE API setvar question...

Question asked by Christina Seay on Nov 24, 2008
Latest reply on Nov 25, 2008 by Christina Seay
I'm trying to do a setvar to set a variable value on a folder card.

This is the part of my code that sets the variable:

CopiedFolderPath = vault.GetFolderFromPath(vault.RootFolderPath + "\Astec Purchased Parts\" + PartNumber + "\")
CopiedFolderID = CopiedFolderPath.ID

Dim SetVarfile As IEdmFolder5
Dim varEnum As IEdmEnumeratorVariable8
SetVarfile = vault.GetObject(EdmObjectType.EdmObject_Folder, CopiedFolderID)
varEnum = SetVarfile.GetEnumeratorVariable
varEnum.SetVar("Project Number", "", PartNumber)


I'm getting this error:
Public member 'GetEnumeratorVariable' on type 'IEdmFolder6' not found.

On this line:
varEnum = SetVarfile.GetEnumeratorVariable


Does anyone know why I'm getting that error?