I have not been successful in using IEdmSearch8.AddVariable2 to search for empty or non-empty variable values in SOLIDWORKS PDM.
The variable I am testing with is called Volume.
I want to find parts that have a specific value for a variable in one search, and parts that do not have that value in another search.
// Files where Volume is empty
search.AddVariable2("Volume", "=\"\"");