<?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 Set schematic root in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308129#M3222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to set schematic root of a schematic diagram after generating it through ISchematicBuilder.GenerateDiagram method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISchematicDiagram GeneratedDiagram = schBuilder.GenerateDiagram(DiagramName, schemDiagramContainer, propertySet1, (ISchematicBuilderContext)schBuilderCtxt, null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPropertySet propertySet = GeneratedDiagram.PropertySet;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; propertySet.SetProperty("FLAG_ROOT", "16-4-0"); // Some hard-coded value of the schematic root&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeneratedDiagram.AlterPropertySet(propertySet);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeneratedDiagram.Store();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After performing the above, i can see that the diagram has stored the properties but i cannot see the difference in the layout of the diagram. Do i need to re-execute the layout algorithm and if so how can i do that through my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, i tried to re-execute the layout algorithm through ArcMap after generating the diagram and setting the schematic root but it made no difference to its layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2014 05:16:08 GMT</pubDate>
    <dc:creator>ArishKhan</dc:creator>
    <dc:date>2014-01-03T05:16:08Z</dc:date>
    <item>
      <title>Set schematic root</title>
      <link>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308129#M3222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to set schematic root of a schematic diagram after generating it through ISchematicBuilder.GenerateDiagram method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISchematicDiagram GeneratedDiagram = schBuilder.GenerateDiagram(DiagramName, schemDiagramContainer, propertySet1, (ISchematicBuilderContext)schBuilderCtxt, null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPropertySet propertySet = GeneratedDiagram.PropertySet;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; propertySet.SetProperty("FLAG_ROOT", "16-4-0"); // Some hard-coded value of the schematic root&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeneratedDiagram.AlterPropertySet(propertySet);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeneratedDiagram.Store();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After performing the above, i can see that the diagram has stored the properties but i cannot see the difference in the layout of the diagram. Do i need to re-execute the layout algorithm and if so how can i do that through my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, i tried to re-execute the layout algorithm through ArcMap after generating the diagram and setting the schematic root but it made no difference to its layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 05:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308129#M3222</guid>
      <dc:creator>ArishKhan</dc:creator>
      <dc:date>2014-01-03T05:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set schematic root</title>
      <link>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308130#M3223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Although I haven't tried this specific case, it looks like you are setting the root at the wrong level and with an incorrect value.&amp;nbsp; You need to set it at the feature/element level and it is either (null, emptry or 0), or a -1.&amp;nbsp; -1 means it is a Root.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/To_manage_root_and_end_schematic_feature_nodes/004z000000nz000000/"&gt;entry&lt;/A&gt;&lt;SPAN&gt; for more info&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 16:10:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308130#M3223</guid>
      <dc:creator>RickAnderson</dc:creator>
      <dc:date>2014-01-06T16:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set schematic root</title>
      <link>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308131#M3224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/32754"&gt;Arish Khan&lt;/A&gt;&amp;nbsp;/ &amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3366"&gt;Rick Anderson&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know the way to set the Schematic Root and Schematic End Element through ArcObjects. I did not find any documentation about that. I tried the way that you explained in your initial post but it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 10:11:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308131#M3224</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2019-10-17T10:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set schematic root</title>
      <link>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308132#M3225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/45269"&gt;Vara Prasad M S&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample code in 10.x to set an End Node through ArcObjects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;ISchematicInMemoryFeatureNode ipIMFeatureNode = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;xxx&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;ISchematicInMemoryFeatureNodeFlags inMemoryFeatureNodeFlags = ipIMFeatureNode &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; ISchematicInMemoryFeatureNodeFlags;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;inMemoryFeatureNodeFlags.EndNode = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; word-wrap: break-word; color: #3d3d3d; white-space: normal; font-weight: 400; display: inline !important; letter-spacing: normal; text-decoration: none; font-size: 15px; font-style: normal; float: none; background-color: transparent; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; orphans: 2; text-align: left; "&gt;And a documentation for ISchematicInMemoryFeatureNodeFlags&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; "&gt;&lt;A href="http://resourcesdev.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/ISchematicInMemoryFeatureNodeFlags_Interface/003s000001tv000000/"&gt;http://resourcesdev.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/ISchematicInMemoryFeatureNodeFlags_Interface/003s000001tv000000/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 07:36:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308132#M3225</guid>
      <dc:creator>ChinhMai-Trung</dc:creator>
      <dc:date>2019-10-18T07:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set schematic root</title>
      <link>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308133#M3226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot &lt;A href="https://community.esri.com/migrated-users/39588"&gt;Chinh Mai-Trung&lt;/A&gt;‌!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try and let you know.&amp;nbsp; Thanks again for your great help. The link you provided is broken. I am referring this.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ISchematicInMemoryFeatureNodeFlags.htm" title="http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ISchematicInMemoryFeatureNodeFlags.htm"&gt;http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ISchematicInMemoryFeatureNodeFlags.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:14:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308133#M3226</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2019-10-18T08:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set schematic root</title>
      <link>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308134#M3227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/39588"&gt;Chinh Mai-Trung&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help. It worked well and could apply Layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 05:41:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/set-schematic-root/m-p/308134#M3227</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2019-10-21T05:41:26Z</dc:date>
    </item>
  </channel>
</rss>

