案例:
获取轴网表头对象样式
Category stape = Category.GetCategory(doc, BuiltInCategory.OST_GridHeads); //OST_GridHeadss
// 就可以获取到
Color linecolor = stape.LineColor; // 当前轴网标头对象样式得 颜色
int? lineweight = stape.GetLineWeight(GraphicsStyleType.Projection); // 宽
注:Andy- revit二次开发初学着