Hi All,
I'm trying to create railing schedule using Revit API but I'm getting the following error
using (Transaction t = new Transaction(doc, "Create Schedule"))
{
try
{
t.Start();
ViewSchedule viewSchedule = ViewSchedule.CreateSchedule(doc, new ElementId(BuiltInCategory.OST_Railings));
t.Commit();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
ay ideas? what would be the correct categoryId?
Solved! Go to Solution.
Hi All,
I'm trying to create railing schedule using Revit API but I'm getting the following error
using (Transaction t = new Transaction(doc, "Create Schedule"))
{
try
{
t.Start();
ViewSchedule viewSchedule = ViewSchedule.CreateSchedule(doc, new ElementId(BuiltInCategory.OST_Railings));
t.Commit();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
ay ideas? what would be the correct categoryId?
Solved! Go to Solution.
Solved by franciscopossetto. Go to Solution.
Hey,
Use BuiltInCategory.OST_StairsRailing. Your could should work.
Hey,
Use BuiltInCategory.OST_StairsRailing. Your could should work.
Can't find what you're looking for? Ask the community or share your knowledge.