if schedule of duct category was created:
id= ElementId(BuiltInCategory.OST_DuctCurves)
newSchedule = ViewSchedule.CreateSchedule(doc,id)
definition = newSchedule.Definition
how is possible to add schedule field from another category (ProjectInformation)?
i try that but its doesnt work (manually its possible):
paramId_proj_info = ElementId(BuiltInParameter.xxx) # xxx - some ProjectInfo BuiltInParameter
definition.AddField(ScheduleFieldType.ProjectInfo , paramId_proj_info )