<?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: Creating a profile via VBA. in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413614#M23035</link>
    <description>Heres a picture and a link to design design data&lt;BR /&gt;
&lt;BR /&gt;
http://www.transit.govt.nz/technical/view_manual.jsp?content_type=manual&amp;amp;=edit&amp;amp;primary_key=19&amp;amp;action=edit&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
Justin</description>
    <pubDate>Tue, 20 Jan 2009 01:58:57 GMT</pubDate>
    <dc:creator>ralstogj</dc:creator>
    <dc:date>2009-01-20T01:58:57Z</dc:date>
    <item>
      <title>Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413609#M23030</link>
      <description>I'm trying to create a profile using vba that has multiple tangents whose start and ends do not match it also has multiple pvi's at some stations but i'm having trouble.&lt;BR /&gt;
&lt;BR /&gt;
Tried using PVIs route which doesn't work.&lt;BR /&gt;
Is this possible and if so which method should I be using? Aecclinefixed?&lt;BR /&gt;
&lt;BR /&gt;
See image attached for the resultant profile. (Note not multiple profiles).</description>
      <pubDate>Mon, 19 Jan 2009 09:48:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413609#M23030</guid>
      <dc:creator>MikeEvansUK</dc:creator>
      <dc:date>2009-01-19T09:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413610#M23031</link>
      <description>&amp;gt; {quote:title=MIKEEVANS wrote:}{quote}&lt;BR /&gt;
&amp;gt; I'm trying to create a profile using vba that has multiple tangents whose start and ends do not match it also has multiple pvi's at some stations but i'm having trouble.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Can't really follow what you're trying to do - I don't understand what you mean by "start and ends do not match".  Also, it is not possible to have multiple PVIs at the same station - each station can have at most one PVI.&lt;BR /&gt;
&lt;BR /&gt;
-- Sinc&lt;BR /&gt;
http://www.ejsurveying.com&lt;BR /&gt;
http://www.quuxsoft.com</description>
      <pubDate>Mon, 19 Jan 2009 15:22:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413610#M23031</guid>
      <dc:creator>Sinc</dc:creator>
      <dc:date>2009-01-19T15:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413611#M23032</link>
      <description>Ok I have added another image that should show you (roughly) what I'm talking about.&lt;BR /&gt;
&lt;BR /&gt;
In the image the Magenta profile consists of a series of fixed straights whose start and end points do not match one another. I'm trying to get an envelope for vertical visibility.&lt;BR /&gt;
&lt;BR /&gt;
I have an array of start and end points Stn &amp;amp; Elevations, I feed these to two new arrays(0-1) (0) being the stn and (1) being the level. Two start points never co-exist at the same station (same for end points) however there may be cases where a start and an end coexist at the same stn but have differing levels and these two entities wouldn't be consecutive.&lt;BR /&gt;
&lt;BR /&gt;
I should then be able to create the profile using the aeccfixedstraight(start&lt;ARRAY&gt;, End&lt;ARRAY2&gt;) but I seem to be having difficulty here, the profile object does not get created so I was checking up to see if it's possible first in case that was why.&lt;BR /&gt;
&lt;BR /&gt;
As I can manually draft these as I want I expected to be able to project them via VBA.&lt;BR /&gt;
&lt;BR /&gt;
Hope it's a bit clearer.&lt;/ARRAY2&gt;&lt;/ARRAY&gt;</description>
      <pubDate>Mon, 19 Jan 2009 16:25:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413611#M23032</guid>
      <dc:creator>MikeEvansUK</dc:creator>
      <dc:date>2009-01-19T16:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413612#M23033</link>
      <description>Hi Mike,&lt;BR /&gt;
&lt;BR /&gt;
I've read your first post and this a couple of times and can't make any &lt;BR /&gt;
sense of what you are trying to do.&lt;BR /&gt;
&lt;BR /&gt;
I can see a continuous red profile and a series of magenta lines, one of &lt;BR /&gt;
which is touched by white chainage lines.&lt;BR /&gt;
&lt;BR /&gt;
Amongst other questions:&lt;BR /&gt;
How are these magenta lines created?&lt;BR /&gt;
What is their intended relation ship with some form of physical reality?&lt;BR /&gt;
What is an "Envelope of vertical visibility"?&lt;BR /&gt;
&lt;BR /&gt;
I think it would help if you could describe what you are trying to &lt;BR /&gt;
achieve and what data you are imputing to achieve it.&lt;BR /&gt;
&lt;BR /&gt;
Ultimately, the programming can only follow a logical description of &lt;BR /&gt;
process.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
MIKEEVANS wrote:&lt;BR /&gt;
&amp;gt; Ok I have added another image that should show you (roughly) what I'm &lt;BR /&gt;
&amp;gt; talking about. In the image the Magenta profile consists of a series of &lt;BR /&gt;
&amp;gt; fixed straights whose start and end points do not match one another. I'm &lt;BR /&gt;
&amp;gt; trying to get an envelope for vertical visibility. I have an array of &lt;BR /&gt;
&amp;gt; start and end points Stn &amp;amp; Elevations, I feed these to two new &lt;BR /&gt;
&amp;gt; arrays(0-1) (0) being the stn and (1) being the level. Two start points &lt;BR /&gt;
&amp;gt; never co-exist at the same station (same for end points) however there &lt;BR /&gt;
&amp;gt; may be cases where a start and an end coexist at the same stn but have &lt;BR /&gt;
&amp;gt; differing levels and these two entities wouldn't be consecutive. I &lt;BR /&gt;
&amp;gt; should then be able to create the profile using the &lt;BR /&gt;
&amp;gt; aeccfixedstraight(start, End) but I seem to be having difficulty here, &lt;BR /&gt;
&amp;gt; the profile object does not get created so I was checking up to see if &lt;BR /&gt;
&amp;gt; it's possible first in case that was why. As I can manually draft these &lt;BR /&gt;
&amp;gt; as I want I expected to be able to project them via VBA. Hope it's a bit &lt;BR /&gt;
&amp;gt; clearer.&lt;BR /&gt;
&amp;gt; ------------------------------------------------------------------------&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Mon, 19 Jan 2009 19:59:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413612#M23033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-19T19:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413613#M23034</link>
      <description>You may know it as SSD or Stopping Sight Distance in the US but it is different (I think) to the UK.&lt;BR /&gt;
&lt;BR /&gt;
Basically forward visibility in the UK refers to a line drawn following a Road lane centre or the drivers eye of sight. These form two conditions a horizontal measured from a start point to an end point a specified distance(relative to speed) from the start point in the direction of travel repeated at an increment along the road.&lt;BR /&gt;
&lt;BR /&gt;
It forms a "spyrograph" style envelope which graphically illustrates the drivers vision as they travel along a road, we use them to aid in the creation of widenings or omitting objects such as trees or embankments where they lie in the envelope.&lt;BR /&gt;
&lt;BR /&gt;
The second condition is the vertical aspec which uses the same points as the horizontal but for the start point has a eye height and at the end point has an object height.&lt;BR /&gt;
&lt;BR /&gt;
Again provides us with a drivers eye line as they drive along the road and ensures that the driver can see a body laying in the road a set distance away.&lt;BR /&gt;
&lt;BR /&gt;
I have the horizontal portion set up and the vertical now gets all the data but I can't seem to add the profile.&lt;BR /&gt;
&lt;BR /&gt;
Say a line starting at 0 with a starting height of (profile level + 1.02m) and ending at (startStn + 33m) with a level of (profile level + 0.260m) then another line starting 5m further along the alignment at station 5 which ends at station 38(startStn + 33m) and so on until the end of the profile.&lt;BR /&gt;
&lt;BR /&gt;
You end up with a series of lines which if one intersects a vertical curve means a driver is unable to see an object in the road at that location.&lt;BR /&gt;
&lt;BR /&gt;
It's a bit hard to describe it without images, I have had trouble finding any as they are a bit scarce on the net.&lt;BR /&gt;
I'll try to get a drawing with the two created and add it here for you.</description>
      <pubDate>Mon, 19 Jan 2009 22:43:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413613#M23034</guid>
      <dc:creator>MikeEvansUK</dc:creator>
      <dc:date>2009-01-19T22:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413614#M23035</link>
      <description>Heres a picture and a link to design design data&lt;BR /&gt;
&lt;BR /&gt;
http://www.transit.govt.nz/technical/view_manual.jsp?content_type=manual&amp;amp;=edit&amp;amp;primary_key=19&amp;amp;action=edit&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
Justin</description>
      <pubDate>Tue, 20 Jan 2009 01:58:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413614#M23035</guid>
      <dc:creator>ralstogj</dc:creator>
      <dc:date>2009-01-20T01:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413615#M23036</link>
      <description>Hi Mike,&lt;BR /&gt;
&lt;BR /&gt;
Got it.  Sight Distance (SD) is what you're after.  There are options of&lt;BR /&gt;
    stopping sight distance&lt;BR /&gt;
    passing sight distance - single carriageway, and dual carriageways&lt;BR /&gt;
    headlight sight distance&lt;BR /&gt;
each of which results from a combination of the sight distance and the &lt;BR /&gt;
design speed.&lt;BR /&gt;
&lt;BR /&gt;
And you want to plot Sight Distance on a profile.&lt;BR /&gt;
&lt;BR /&gt;
How do you handle the plot?&lt;BR /&gt;
&lt;BR /&gt;
As an example, let's say at Chainage 0 the SD is 200 and at Chainage 100 &lt;BR /&gt;
it is 300, then there is a a long vertical tangent so the SD extends to &lt;BR /&gt;
10000.  How can you sensibly plot this (log scale?) on a profile?  What &lt;BR /&gt;
if there is a horizontal curve half way along the vertical tangent &lt;BR /&gt;
wherein the SD is reduced to 200 by the horizontal curve?  Which sight &lt;BR /&gt;
distance do you plot?&lt;BR /&gt;
&lt;BR /&gt;
For real life work, I'd look closely at RDV.  It elegantly combines &lt;BR /&gt;
vertical curvature, horizontal curvature and cross section detail to &lt;BR /&gt;
show where you actually have sight distances deficiencies.&lt;BR /&gt;
&lt;BR /&gt;
It is quite instructive to see models in RDV wherein the vertical &lt;BR /&gt;
profile and horizontal alignment both meet specification, but sight &lt;BR /&gt;
distance fails due to roadside furniture such as guard rail.&lt;BR /&gt;
&lt;BR /&gt;
For a computed solution, you probably should look at a theoretical model &lt;BR /&gt;
of the sight distance and calculate that in areas where sight distance &lt;BR /&gt;
might be significant.&lt;BR /&gt;
&lt;BR /&gt;
A quick look at the AASHTO Policy for Geometric Design of Highways and &lt;BR /&gt;
Streets, would enable you to identify locations where no computations &lt;BR /&gt;
were relevant.  Fig III-3 in my 1990 edition shows a manual method which &lt;BR /&gt;
could be interpreted into a theoretical model.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
mikeevans wrote:&lt;BR /&gt;
&amp;gt; You may know it as SSD or Stopping Sight Distance in the US but it is &lt;BR /&gt;
&amp;gt; different (I think) to the UK. Basically forward visibility in the UK &lt;BR /&gt;
&amp;gt; refers to a line drawn following a Road lane centre or the drivers eye &lt;BR /&gt;
&amp;gt; of sight. These form two conditions a horizontal measured from a start &lt;BR /&gt;
&amp;gt; point to an end point a specified distance(relative to speed) from the &lt;BR /&gt;
&amp;gt; start point in the direction of travel repeated at an increment along &lt;BR /&gt;
&amp;gt; the road. It forms a "spyrograph" style envelope which graphically &lt;BR /&gt;
&amp;gt; illustrates the drivers vision as they travel along a road, we use them &lt;BR /&gt;
&amp;gt; to aid in the creation of widenings or omitting objects such as trees or &lt;BR /&gt;
&amp;gt; embankments where they lie in the envelope. The second condition is the &lt;BR /&gt;
&amp;gt; vertical aspec which uses the same points as the horizontal but for the &lt;BR /&gt;
&amp;gt; start point has a eye height and at the end point has an object height. &lt;BR /&gt;
&amp;gt; Again provides us with a drivers eye line as they drive along the road &lt;BR /&gt;
&amp;gt; and ensures that the driver can see a body laying in the road a set &lt;BR /&gt;
&amp;gt; distance away. I have the horizontal portion set up and the vertical now &lt;BR /&gt;
&amp;gt; gets all the data but I can't seem to add the profile. Say a line &lt;BR /&gt;
&amp;gt; starting at 0 with a starting height of (profile level + 1.02m) and &lt;BR /&gt;
&amp;gt; ending at (startStn + 33m) with a level of (profile level + 0.260m) then &lt;BR /&gt;
&amp;gt; another line starting 5m further along the alignment at station 5 which &lt;BR /&gt;
&amp;gt; ends at station 38(startStn + 33m) and so on until the end of the &lt;BR /&gt;
&amp;gt; profile. You end up with a series of lines which if one intersects a &lt;BR /&gt;
&amp;gt; vertical curve means a driver is unable to see an object in the road at &lt;BR /&gt;
&amp;gt; that location. It's a bit hard to describe it without images, I have had &lt;BR /&gt;
&amp;gt; trouble finding any as they are a bit scarce on the net. I'll try to get &lt;BR /&gt;
&amp;gt; a drawing with the two created and add it here for you.</description>
      <pubDate>Tue, 20 Jan 2009 04:53:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413615#M23036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-20T04:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413616#M23037</link>
      <description>Thanks for the response Laurie.&lt;BR /&gt;
&lt;BR /&gt;
I have looked at RDV before and as CGSA, the way RDV handles visibility is not quite what we want - too much on the 3D aspect.&lt;BR /&gt;
&lt;BR /&gt;
CGSA does handle horizontal visibility as we need but there is no vertical aspect, both are not free and I want to learn VBA here as well as getting necessary tools which I have been missing for quite a few releases. I use the method as I described not as described in the Ashho manual. I use DMRB British "design manual for roads and bridges". The objective is the same but from reading your post worked out in very different methods.&lt;BR /&gt;
&lt;BR /&gt;
I can manually create a profile as I want it to be so I don't see why I can't produce the same in VBA?&lt;BR /&gt;
&lt;BR /&gt;
Can I draw a profile tangent line from 0 to 100 then the next entity being from 5 to 105 etc for the length of the profile. I have looked at using PVIs and that doesn't seem to be the answer, I think that a fixedtangent is but following the profile example code and changing the values so that dloc1(0)(1) contain the correct values for chainage and elevation but they don't get created. &lt;BR /&gt;
&lt;BR /&gt;
Where the code creates a fixedtangent it requires two parameters (Start Stn &amp;amp; Level, End Stn &amp;amp; level) in the example these have been combined into two arrays(0 to 1) is this correct?&lt;BR /&gt;
&lt;BR /&gt;
now specifying these as entity.addfixedtangent(dloc1,dloc2) does the application read both values in dloc1 &amp;lt;&lt;DLOC1&gt;&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
I now have the profile being created but no entities being added within it: I'll keep plodding along, I got this far blind as such and figuring it out by trial and error (more error but hey). I'm sure the solution is not far from me now. : )&lt;BR /&gt;
&lt;BR /&gt;
Mike&lt;/DLOC1&gt;</description>
      <pubDate>Tue, 20 Jan 2009 09:35:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413616#M23037</guid>
      <dc:creator>MikeEvansUK</dc:creator>
      <dc:date>2009-01-20T09:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413617#M23038</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Mike,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Instead of trying to make profile elements (I think &lt;BR /&gt;
the API is blocking you from making these non-standard elements), try using just &lt;BR /&gt;
AutoCAD lines for your sight distance check tool.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Peter Funk&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Autodesk, Inc.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Jan 2009 13:33:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413617#M23038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-20T13:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413618#M23039</link>
      <description>Hi Peter, I was starting to think the same thing but after playing around I have managed to get it to do what I want (unfortunately working off the example as the code is at home) but it does create elements as I need them.&lt;BR /&gt;
&lt;BR /&gt;
''first line&lt;BR /&gt;
        Dim oProfileTangent1 As aeccProfileTangent&lt;BR /&gt;
        dLoc1(0) = oAlignment.StartingStation: dLoc1(1) = -40#&lt;BR /&gt;
        dLoc2(0) = 50: dLoc2(1) = -70#&lt;BR /&gt;
        Set oProfileTangent1 = oProfile.Entities.AddFixedTangent(dLoc1, dLoc2)&lt;BR /&gt;
''second line&lt;BR /&gt;
        Dim oProfileTangent2 As aeccProfileTangent&lt;BR /&gt;
        dLoc1(0) = 25: dLoc1(1) = -60#&lt;BR /&gt;
        dLoc2(0) = 75: dLoc2(1) = -4#&lt;BR /&gt;
        Set oProfileTangent2 = oProfile.Entities.AddFixedTangent(dLoc1, dLoc2)&lt;BR /&gt;
&lt;BR /&gt;
I must have something else incorrectly set elsewhere in my code: The plot thickens...&lt;BR /&gt;
&lt;BR /&gt;
I don't really want to use lines as they will not be dynamic with the section views datum and scales, a profile would be but i'll bear it in mind in case.</description>
      <pubDate>Tue, 20 Jan 2009 14:22:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413618#M23039</guid>
      <dc:creator>MikeEvansUK</dc:creator>
      <dc:date>2009-01-20T14:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413619#M23040</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Mike,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;While the profile elements would be dynamic, what &lt;BR /&gt;
would they be dynamic to? Don't you have to recalculate the PVI points when the &lt;BR /&gt;
profile changes? I'm just wondering what you're going to gain by using profile &lt;BR /&gt;
elements in this manner. Also, what is the final product that you are looking &lt;BR /&gt;
for here? Is it visual, labels, a band or a report?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Peter Funk&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Autodesk, Inc.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Jan 2009 18:01:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413619#M23040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-20T18:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413620#M23041</link>
      <description>Hi Mike/Peter,&lt;BR /&gt;
&lt;BR /&gt;
Further to these questions.&lt;BR /&gt;
&lt;BR /&gt;
As I alluded to earlier, due to the range of possible sight distances &lt;BR /&gt;
based on centreline profiles, a graphical plot is not feasible unless &lt;BR /&gt;
you make a convention along the lines of values above a certain level &lt;BR /&gt;
being plotted as horizontal bounding line - or not plotted at all.&lt;BR /&gt;
&lt;BR /&gt;
A report or labels seem feasible, but what worries me is that the &lt;BR /&gt;
computed values are being dome in isolation from the cross-section shape &lt;BR /&gt;
and the horizontal alignment.&lt;BR /&gt;
&lt;BR /&gt;
If a separate evaluation of horizontal sight distance is made it is not &lt;BR /&gt;
legitimate to then adopt the lower of the two values as the three &lt;BR /&gt;
dimensional interaction could well create a sight distance lower than &lt;BR /&gt;
predicted for the two values in isolation.&lt;BR /&gt;
&lt;BR /&gt;
Thus the computed values are not conservative and could lead to &lt;BR /&gt;
potentially dangerous situations being accepted based on the output of &lt;BR /&gt;
separate models.&lt;BR /&gt;
&lt;BR /&gt;
i.e. It's a 3 dimensional problem and has to be resolved as such.&lt;BR /&gt;
&lt;BR /&gt;
Obviously the programming effort is not trivial and this is why I &lt;BR /&gt;
suggested using RDV where the work has already been done and presented &lt;BR /&gt;
is a clearly understandable fashion.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
&lt;BR /&gt;
Peter Funk - Autodesk wrote:&lt;BR /&gt;
&amp;gt; Mike,&lt;BR /&gt;
&amp;gt;  &lt;BR /&gt;
&amp;gt; While the profile elements would be dynamic, what would they be dynamic &lt;BR /&gt;
&amp;gt; to? Don't you have to recalculate the PVI points when the profile &lt;BR /&gt;
&amp;gt; changes? I'm just wondering what you're going to gain by using profile &lt;BR /&gt;
&amp;gt; elements in this manner. Also, what is the final product that you are &lt;BR /&gt;
&amp;gt; looking for here? Is it visual, labels, a band or a report?&lt;BR /&gt;
&amp;gt;  &lt;BR /&gt;
&amp;gt; Peter Funk&lt;BR /&gt;
&amp;gt; Autodesk, Inc.</description>
      <pubDate>Tue, 20 Jan 2009 22:41:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413620#M23041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-20T22:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413621#M23042</link>
      <description>Laurie,&lt;BR /&gt;
&lt;BR /&gt;
I agree that the proper solution for sight line is a 3D solution that looks &lt;BR /&gt;
at the full design of alignment, profile, cross section and surface. That &lt;BR /&gt;
said, existing standards seem to indicated that 2D methods are still &lt;BR /&gt;
employed in some cases.&lt;BR /&gt;
&lt;BR /&gt;
Peter Funk&lt;BR /&gt;
Autodesk, Inc.</description>
      <pubDate>Tue, 20 Jan 2009 23:01:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413621#M23042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-20T23:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413622#M23043</link>
      <description>Hi Peter,&lt;BR /&gt;
&lt;BR /&gt;
You're right about existing standards often being outdated.&lt;BR /&gt;
&lt;BR /&gt;
There are a whole range of Civil Engineering checks which are done by &lt;BR /&gt;
methods appropriate to the hand computation days when it was not &lt;BR /&gt;
feasible to do more detailed analysis.&lt;BR /&gt;
&lt;BR /&gt;
Checking Authority staff (who often seem to be employed by &lt;BR /&gt;
"Accountant/Lawyer/Other ignorant of Civil Engineering" type people on &lt;BR /&gt;
the basis on their low cost of employment) often have no idea of what is &lt;BR /&gt;
being checked or why.&lt;BR /&gt;
&lt;BR /&gt;
As an example drainage computations in the format of the rational method &lt;BR /&gt;
hand spreadsheet are still the required information for many Authorities &lt;BR /&gt;
here and I guess in the USA, yet they have no discernible relationship &lt;BR /&gt;
with the performance of the drainage network at time of high flows, or &lt;BR /&gt;
of the potential from blocked pipes.&lt;BR /&gt;
&lt;BR /&gt;
However, we are now in the computer world and we have the means of doing &lt;BR /&gt;
these computations economically (usually at least an order of magnitude &lt;BR /&gt;
cheaper) than the simpler computations could be done by hand and in my &lt;BR /&gt;
view there is no excuse for not doing so.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
&lt;BR /&gt;
Peter Funk - Autodesk wrote:&lt;BR /&gt;
&amp;gt; Laurie,&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I agree that the proper solution for sight line is a 3D solution that looks &lt;BR /&gt;
&amp;gt; at the full design of alignment, profile, cross section and surface. That &lt;BR /&gt;
&amp;gt; said, existing standards seem to indicated that 2D methods are still &lt;BR /&gt;
&amp;gt; employed in some cases.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Peter Funk&lt;BR /&gt;
&amp;gt; Autodesk, Inc.</description>
      <pubDate>Wed, 21 Jan 2009 03:00:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413622#M23043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-21T03:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a profile via VBA.</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413623#M23044</link>
      <description>Peter, Laurie.&lt;BR /&gt;
&lt;BR /&gt;
I managed to get it working last night bar a few array counting issues (not sure what was wrong in the end) .&lt;BR /&gt;
&lt;BR /&gt;
As far as dynamic properties (you give me too much credit, I'm not that clever) yes the profile would have to be re run whenever a design is changed but that's not a major issue it would be nice to be fully dynamic.&lt;BR /&gt;
&lt;BR /&gt;
As far as looking at the model (surface) yes: "is the entity intersecting the surface" is an ideal solution but quite how I do that is a different matter. &lt;BR /&gt;
&lt;BR /&gt;
The image attached shows (incorrectly) the horizontal envelope on the centreline (should be the lane centreline) and the profile shown in grey is relative to the design profile. In reality the design profile here would be a surface profile from the model. As the horizontal shows where the potential for issues may arise (in this case nowhere) and the vertical (in this case failing for the example) it is normally enough.&lt;BR /&gt;
&lt;BR /&gt;
There may be times where a more detailed check may be in order and perhaps featurelines are the answer here? Or any other idfeas welcome so long as they are fairly basic to do &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers.&lt;BR /&gt;
&lt;BR /&gt;
Mike</description>
      <pubDate>Wed, 21 Jan 2009 10:42:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/creating-a-profile-via-vba/m-p/2413623#M23044</guid>
      <dc:creator>MikeEvansUK</dc:creator>
      <dc:date>2009-01-21T10:42:19Z</dc:date>
    </item>
  </channel>
</rss>

