<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Revit Schedule - Title/headers in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/10319550#M75036</link>
    <description>&lt;P&gt;is it possible to modify text inside header?&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 01:20:18 GMT</pubDate>
    <dc:creator>zhounnin</dc:creator>
    <dc:date>2021-05-18T01:20:18Z</dc:date>
    <item>
      <title>Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5389693#M75027</link>
      <description>&lt;P&gt;In Revit the Schedule defines specific areas by name. Title, Headers, Body.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API does not seem to be consistant with this data. If you export api header data, Im getting schedule&amp;nbsp;"Title". The schedule&amp;nbsp;"Headers" are part of the body data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else come to the same conclusion?&lt;/P&gt;&lt;P&gt;The Enumneration for the sectionTypes seem likes it should be:&amp;nbsp;None, Title, Headers, Body, Summary, Footer (and..there should even be a Grouping Header and a Grouping Footer, but thats not the point of this post).&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 20:14:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5389693#M75027</guid>
      <dc:creator>travis_cadnetics</dc:creator>
      <dc:date>2014-11-07T20:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5397383#M75028</link>
      <description>&lt;P&gt;Dear Tjohnson,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am discussing it with the development team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 07:31:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5397383#M75028</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2014-11-12T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5400417#M75029</link>
      <description>&lt;P&gt;Dear Tjohnson,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I heard back from the development team, and they say:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's complicated. Are you sitting down for this?&lt;BR /&gt; &lt;BR /&gt;The TableView and related TableData classes are more generic than just regular view schedules. For example, they also support PanelViewSchedules for the electrical discipline, which are also a grid-like organization of data, text and images, but offer different options to layout and edit the contents.&lt;BR /&gt; &lt;BR /&gt;Because this is a more generic framework than regular Revit schedules, and regular Revit schedules existed and were migrated into this framework, there are some design compromises in place and this question is centered around one of those design compromises. Specifically, the entire Revit-generated grid with the parameter content which makes up the 'schedule' has been placed in the Body section of the TableView. This includes the generated column headers and grouped headers, the generated text, and even the blank spaces in between 'sections' of the Revit schedule. So if you use the TableView and related APIs to iterate over the cell-by-cell contents of the Body, you get almost everything that is in the schedule. &lt;BR /&gt; &lt;BR /&gt;In fact, regular schedules do have a separate section for the title, which is the Header section. Nominally when the schedule is created this is just the title in a single cell, but you have tools on the ribbon to insert new rows and columns, merge cells, insert images, etc. (And this is also possible using the API). So the header of a standard Revit schedule can contain much more than just the title, but it does not include the columns supplied by the information (e.g. the list of parameters) in the ScheduleDefinition.&lt;BR /&gt; &lt;BR /&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2014 08:25:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5400417#M75029</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2014-11-13T08:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5401191#M75030</link>
      <description>That makes sense to me. As someone who is new to Coding and the Revit API, I just wanted to be sure I was understanding the results that I was getting. I assume that this was the case when I searched the SDK Documentation received results for either the Panel Schedule or the regular schedule data. Thanks for the clarification.</description>
      <pubDate>Thu, 13 Nov 2014 14:06:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/5401191#M75030</guid>
      <dc:creator>travis_cadnetics</dc:creator>
      <dc:date>2014-11-13T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/7046526#M75031</link>
      <description>&lt;P&gt;I need to change all schedule header text to upper case. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:26:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/7046526#M75031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-27T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/7925478#M75032</link>
      <description>Do you have an example of how to modify the header (insert in line and columns and inserting text in the cells)?&lt;BR /&gt;Greetings Håkon Frank</description>
      <pubDate>Wed, 11 Apr 2018 16:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/7925478#M75032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T16:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/8346459#M75033</link>
      <description>&lt;P&gt;I know this is very old but I need an answer to this as well.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 17:13:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/8346459#M75033</guid>
      <dc:creator>RustyHyde</dc:creator>
      <dc:date>2018-10-19T17:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/8371593#M75034</link>
      <description>&lt;P&gt;Thanks, I got it to work.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 16:27:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/8371593#M75034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-31T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/9118893#M75035</link>
      <description>&lt;P&gt;How? I also need to modify the headers based on our standard schedule.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 06:53:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/9118893#M75035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T06:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/10319550#M75036</link>
      <description>&lt;P&gt;is it possible to modify text inside header?&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 01:20:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/10319550#M75036</guid>
      <dc:creator>zhounnin</dc:creator>
      <dc:date>2021-05-18T01:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/11340442#M75037</link>
      <description>Care to share your method?</description>
      <pubDate>Thu, 04 Aug 2022 16:35:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/11340442#M75037</guid>
      <dc:creator>brownbr2VHQE</dc:creator>
      <dc:date>2022-08-04T16:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/11573145#M75038</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this post which was very helpful, thank you @Anonymous for the info.&lt;/P&gt;&lt;P&gt;I have created a small example macro that gets the Header text (it is very basic and may need to be made safer). I hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;/// &amp;lt;summary&amp;gt;
		/// This macro gets the header text of the active Schedule View
		/// &amp;lt;/summary&amp;gt;
		public void ScheduleHeader()
		{
			UIDocument uidoc = this.ActiveUIDocument;
			Document doc = uidoc.Document;
			
			ViewSchedule mySchedule =  uidoc.ActiveView as ViewSchedule;
			
			TableData myTableData = mySchedule.GetTableData();
						
			TableSectionData myData = myTableData.GetSectionData(SectionType.Header);
			
			TaskDialog.Show("Header Info", "The Header Text is: \n" +myData.GetCellText(0,0));
		}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 14:24:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/11573145#M75038</guid>
      <dc:creator>H.echeva</dc:creator>
      <dc:date>2022-11-23T14:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/11573485#M75039</link>
      <description>&lt;P&gt;Thank you for kindly sharing your implementation,&amp;nbsp;Hernan! I hope that will help resolve the4 issue for all the others above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 16:07:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/11573485#M75039</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-11-23T16:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Schedule - Title/headers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/12844376#M75040</link>
      <description>&lt;P&gt;There is a possibility to rename column header within Body section using ScheduleDefinition.ColumnHeading, the property has setter as well. Conserning getting value of a Body section cell, from my experience, it is to use method GetCellText of class ViewSchedule rather than the same method of class SectionData (the second one always returned me empty string). Also for complex headers (merged/groupped) I played around with methods ViewSection.GroupHeaders/UngroupHeaders (it allows to set new text) and SectionData.GetMergedCell to detect if a cell is a part of merging.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 14:29:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-schedule-title-headers/m-p/12844376#M75040</guid>
      <dc:creator>ekaterina.kudelina93H47</dc:creator>
      <dc:date>2024-06-17T14:29:20Z</dc:date>
    </item>
  </channel>
</rss>

