Message 1 of 8

Not applicable
05-07-2018
02:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to add a row into a revit (key) schedule
My code:
TableData tableData = viewSchedule.GetTableData(); TableSectionData tsd = tableData.GetSectionData(SectionType.Body); tsd.InsertRow(tsd.FirstRowNumber ); tsd.SetCellText(tsd.FirstRowNumber + 1, tsd.FirstColumnNumber, "Schedule of column top and base levels with offsets");
This is the same code as given in: https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2015/EN...
but somehow I get a ModificationOutsideTransactionException
Solved! Go to Solution.