Community
I hit this problem again today - once too often. I found a post from Tony T (http://forums.autodesk.com/t5/NET/Set-Current-Lineweight/m-p/2582292/highlight/true#M16414) that worked again, this time for IMAGEFRAME. I want IMAGEFRAME = 2 in a long list of files. I am using CommandFlags.Session, and acmgd from Acad 2010. I figured I should post here because of the topic title. I know I will have to search it again.
Application.SetSystemVariable("IMAGEFRAME", System.Convert.ToInt16(2))