I'm trying to make the columns in my MEP ScheduleTable left aligned. I've tried both of the commented out lines below. Both give me an Invalid Object error. Does anyone have an example of how to set the alignment in an ACA/MEP Schedule Table?
var connColumn = new ScheduleTableStyleColumn();
connColumn.SetToStandard(db);
connColumn.SubSetDatabaseDefaults(db);
connColumn.PropertySetDefinitionId = psdId;
connColumn.ColumnType = ScheduleTableStyleColumnType.Normal;
connColumn.Heading = "CONNECTIONS";
connColumn.PropertyId = psd.Definitions.IndexOf("Connections");
//connColumn.CellFormatOverride.Alignment = AttachmentPoint.MiddleLeft;
//connColumn.CellFormatOverride.DefaultCellFormat.Alignment = AttachmentPoint.MiddleLeft;
style.Columns.Add(connColumn);