<?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 Copy elevation range and bands settings from a profile view in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/copy-elevation-range-and-bands-settings-from-a-profile-view/m-p/9163271#M9049</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;In Civil 3D 2020, when I create sheets with plan and profile views, there is the option to copy settings from a existing profile view. That profile view has a fixed elevation range and profile band settings.&lt;/P&gt;&lt;P&gt;The new profile views for each sheet does not copy the the fixed elevation range, nor the profile band settings.&lt;/P&gt;&lt;P&gt;The reference to that profile view used as template is saved somewhere in the drawing? It is accessible through .NET?&lt;/P&gt;&lt;P&gt;If it is saved in the drawing I want to get a reference of it, get the elevation range, get the settings of the profile bands. Then in the other profile views I want to set the same elevation range, and the same band settings.&lt;/P&gt;&lt;P&gt;It is possible to set elevation ranges and band settings through .NET?&lt;/P&gt;&lt;P&gt;Greetings from Paraguay.&lt;/P&gt;&lt;P&gt;Claudio Bogado Pompa.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Nov 2019 13:25:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-23T13:25:48Z</dc:date>
    <item>
      <title>Copy elevation range and bands settings from a profile view</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/copy-elevation-range-and-bands-settings-from-a-profile-view/m-p/9163271#M9049</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;In Civil 3D 2020, when I create sheets with plan and profile views, there is the option to copy settings from a existing profile view. That profile view has a fixed elevation range and profile band settings.&lt;/P&gt;&lt;P&gt;The new profile views for each sheet does not copy the the fixed elevation range, nor the profile band settings.&lt;/P&gt;&lt;P&gt;The reference to that profile view used as template is saved somewhere in the drawing? It is accessible through .NET?&lt;/P&gt;&lt;P&gt;If it is saved in the drawing I want to get a reference of it, get the elevation range, get the settings of the profile bands. Then in the other profile views I want to set the same elevation range, and the same band settings.&lt;/P&gt;&lt;P&gt;It is possible to set elevation ranges and band settings through .NET?&lt;/P&gt;&lt;P&gt;Greetings from Paraguay.&lt;/P&gt;&lt;P&gt;Claudio Bogado Pompa.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 13:25:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/copy-elevation-range-and-bands-settings-from-a-profile-view/m-p/9163271#M9049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-23T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy elevation range and bands settings from a profile view</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/copy-elevation-range-and-bands-settings-from-a-profile-view/m-p/9164222#M9050</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reference to that profile view used as template is saved somewhere in the drawing? It is accessible through .NET?&lt;/P&gt;
&lt;P&gt;If it is saved in the drawing I want to get a reference of it, get the elevation range, get the settings of the profile bands. Then in the other profile views I want to set the same elevation range, and the same band settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is possible to set elevation ranges and band settings through .NET?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For the first part, as far as I am aware, no, the drawing/profileview reference is not saved.&lt;/P&gt;
&lt;P&gt;As for setting the ranges and band settings, yes that can be done in .NET.&amp;nbsp; If you have both drawings open, you should be able to select the PV in the source drawing, save the information to variables, then apply to the target PV's.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 18:01:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/copy-elevation-range-and-bands-settings-from-a-profile-view/m-p/9164222#M9050</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2019-11-24T18:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Copy elevation range and bands settings from a profile view</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/copy-elevation-range-and-bands-settings-from-a-profile-view/m-p/9165486#M9051</link>
      <description>&lt;P&gt;I thought the template profile was saved in the drawing because the create plan wizard remembers the latest profile view selected.&lt;/P&gt;&lt;P&gt;I did get to copy the elevation range, but I could not change the profiles from the band.&lt;/P&gt;&lt;PRE&gt;    Private Sub CambiarElevacionesYPerfiles(IdVista As Autodesk.AutoCAD.DatabaseServices.ObjectId)
        Using Transacción = HostApplicationServices.WorkingDatabase.TransactionManager.StartTransaction
            Dim VistaDePerfil As ProfileView = Transacción.GetObject(IdVista, OpenMode.ForWrite)
            VistaDePerfil.ElevationMax = CotaSuperior ' This worked
            VistaDePerfil.ElevationMin = CotaInferior ' This worked
            Dim BandasDeAbajo = VistaDePerfil.Bands.GetBottomBandItems()
            Dim Banda1 = BandasDeAbajo.Item(0)
            Banda1.Profile1Id = PerfilDelTerrenoExistente ' This did nothing
            Banda1.Profile2Id = PerfilDeDiseño ' This did nothing
            Transacción.Commit()
        End Using
    End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;What is wrong with the code?&lt;/P&gt;&lt;P&gt;Edit: I missed to set the modified bands on the profile view before committing the transaction:&lt;/P&gt;&lt;PRE&gt;VistaDePerfil.Bands.SetBottomBandItems(BandasDeAbajo)&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:14:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/copy-elevation-range-and-bands-settings-from-a-profile-view/m-p/9165486#M9051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-25T14:14:04Z</dc:date>
    </item>
  </channel>
</rss>

