<?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: Edit Vertical profile exaggerated scale using lisp in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14077285#M27498</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7924153"&gt;@Paul.GrafPZAZ7&lt;/a&gt;&amp;nbsp;look at what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1633394"&gt;@hippe013&lt;/a&gt;&amp;nbsp;posted and compare it to what you had tried. He gave you exactly what you need to use. Hint: Instead of vla-get- a property, use vlax-get-property obj 'theproperty&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2026 21:15:57 GMT</pubDate>
    <dc:creator>Jeff_M</dc:creator>
    <dc:date>2026-04-03T21:15:57Z</dc:date>
    <item>
      <title>Edit Vertical profile exaggerated scale using lisp</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14076939#M27495</link>
      <description>&lt;P&gt;I have a 100+ drawing that I need to edit the Profile View styles vertical scale to 4.0. My plan is to run a script on all these drawings using this script file. Here is the program I have so far. It gets hung up the line:&amp;nbsp;(setq style (vla-get-Style obj))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My lisp skills for Civil 3d are not the best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:VERT_SCALE_4 (/ ss i ent obj style)&lt;BR /&gt;(vl-load-com)&lt;BR /&gt;;; Search the entire drawing for Profile View objects&lt;BR /&gt;(setq ss (ssget "_X" '((0 . "AECC_PROFILE_VIEW"))))&lt;BR /&gt;&lt;BR /&gt;(if ss&lt;BR /&gt;(progn&lt;BR /&gt;(setq i 0)&lt;BR /&gt;(repeat (sslength ss)&lt;BR /&gt;(setq ent (ssname ss i))&lt;BR /&gt;(setq obj (vlax-ename-&amp;gt;vla-object ent))&lt;BR /&gt;&lt;BR /&gt;;; Access the style and its graph settings&lt;BR /&gt;(setq style (vla-get-Style obj))&lt;BR /&gt;&lt;BR /&gt;(vlax-put-property (vla-get-Graphstyle style) 'VerticalExaggeration 4.0)&lt;BR /&gt;&lt;BR /&gt;(vla-update obj)&lt;BR /&gt;(setq i (1+ i))&lt;BR /&gt;)&lt;BR /&gt;(princ (strcat "\nUpdated " (itoa i) " Profile View(s)."))&lt;BR /&gt;)&lt;BR /&gt;(princ "\nNo Profile Views found in drawing.")&lt;BR /&gt;)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;paul&lt;/P&gt;&lt;P&gt;c3d 2024&lt;/P&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>Fri, 03 Apr 2026 15:52:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14076939#M27495</guid>
      <dc:creator>Paul.GrafPZAZ7</dc:creator>
      <dc:date>2026-04-03T15:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Vertical profile exaggerated scale using lisp</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14077080#M27496</link>
      <description>&lt;P&gt;For each profileView you would be setting the profileView's style to have a vertical exaggeration of 4.0, regardless of the style that is assigned to the profile view. That means that you could be setting the same vertical exaggeration on the same style, over and over again.&amp;nbsp;I don't know why you would do it that way. Typically, several different profile view styles are defined at varying vertical exaggerations within a drawing. If it were me, I would have my code define a desired style, and then just set that style to all of the different profile views. That's just my two cents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But on to getting the style and modifying the exaggeration.&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;;Given some profile view (pv)
(setq pv (vlax-ename-&amp;gt;vla-object (car (entsel "\nSelect ProfileView: "))))

;Get the ProfileView Style
(setq pvStyle (vlax-get-property pv 'Style))

;Get the GraphStyle from the ProfileView Style
(setq graphStyle (vlax-get-property pvStyle 'GraphStyle))

;Set the Vertical Exaggeration
(vlax-put-property graphStyle 'VerticalExaggeration 4.0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 17:14:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14077080#M27496</guid>
      <dc:creator>hippe013</dc:creator>
      <dc:date>2026-04-03T17:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Vertical profile exaggerated scale using lisp</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14077090#M27497</link>
      <description>&lt;P&gt;I just have one profile in each drawing that was created with the Plan Production tools. I have a 3rd party program that will run a script file (.scr) on all the drawings in a folder. I am just trying to get a lisp routine to run using a script file, without having to manually select the profile. Right now, my profiles vertical exaggeration is set to 5 and I want to change it to 4.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 17:23:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14077090#M27497</guid>
      <dc:creator>Paul.GrafPZAZ7</dc:creator>
      <dc:date>2026-04-03T17:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Vertical profile exaggerated scale using lisp</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14077285#M27498</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7924153"&gt;@Paul.GrafPZAZ7&lt;/a&gt;&amp;nbsp;look at what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1633394"&gt;@hippe013&lt;/a&gt;&amp;nbsp;posted and compare it to what you had tried. He gave you exactly what you need to use. Hint: Instead of vla-get- a property, use vlax-get-property obj 'theproperty&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 21:15:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14077285#M27498</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2026-04-03T21:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Vertical profile exaggerated scale using lisp</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14083738#M27512</link>
      <description>&lt;P&gt;Thank you very much. You both help me get this done.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 12:51:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/edit-vertical-profile-exaggerated-scale-using-lisp/m-p/14083738#M27512</guid>
      <dc:creator>Paul.GrafPZAZ7</dc:creator>
      <dc:date>2026-04-09T12:51:34Z</dc:date>
    </item>
  </channel>
</rss>

