Visitor, the c# Express works fine, although the 2013 & 2015 Community editions are a bit more powerful while still being free.
Getting the Graphic Override is actually quite simple. What I'm finding in my quick test to show you how to set the override, however, is that the API is broke....passing the StyleName or StyleId both throw unhandled exceptions because the API is expecting ONLY a ProfileStyle ObjectId or Name.
So, here's the code I was testing with:
using (Transaction tr = HostApplicationServices.WorkingDatabase.TransactionManager.StartTransaction())
{
var pv = (ProfileView)tr.GetObject(entRes.ObjectId, OpenMode.ForRead);
var partnametooverride = "Pipe - (1)";
var styleId = CivilApplication.ActiveDocument.Styles.PipeStyles["Pipe Crossing Pipe (Sanitary)"];
foreach(var overide in pv.GraphOverrides)
{
if(overide.ProfileName==partnametooverride)
{
overide.OverrideStyleId = styleId;
break;
}
}
tr.Commit();
}
I'm going to fire off a query to ADN support about the exception...