AutoCAD Civil 3D :: Sample Line Name Duplicated Exception

Dec 23, 2013

In Civil 3D we can create several new sample line groups and their sample lines can have the same name in other sample line groups.e.g

SLG_1:   

Sample line names:

1
2
3
4

SLG_2:   

Sample line names:

1
2
3
4

However, If I create a new sample line group with API and after new sample lines, if other sample line name(of other SLG) has the same name, Civil 3D throws Exception.

View 2 Replies


ADVERTISEMENT

AutoCAD Civil 3D :: Sample Line Frequency

Jun 4, 2013

I have a road corridor and need to create sample lines at a 50m interval, as well as at every horizontal and vertical turning point. While the 50m stations and the horizontal turning points are easy to add (using the alignment), I can't seem to find where/how to add the vertical points (they have to be extracted from the profile).

Running the Feature Line Report I noticed the horizontal turning points are not used in the report: it only reports the 50m stations (so I guess the same will happen to the vertical points?).

how to add the vertical turning points to the sample line group and how to include both horizontal and vertical points in the Feature Line Report.

View 6 Replies View Related

AutoCAD Civil 3D :: Sample Line Object Snaps?

Jan 9, 2013

I am trying to use object snap (intersection) to position the end of my sample lines at the intersection of the sample line with a polyline. The object snap works with sample lines left of the alignment centerline but not on the right. How do I correct this?

View 2 Replies View Related

AutoCAD Civil 3D :: Sample Line On Alignment With Spiral

Aug 29, 2013

I draw an alignment for road. I turned off design criteria and i used data from manual for my country Slovenia. I need spiral in, curve and spiral out on alignment. Finally i got that alignment. Then i insert sample lines along the alignment. Then i saved autocad civil 3d file and shut  down the program. When i reopen file, i see that sample lines after the spiral in being erased. Sample lines stayed along first tangent, after that they were erased.

View 9 Replies View Related

AutoCAD Civil 3D :: Export Coordinates Table Of Sample Line?

Apr 15, 2012

 I'm designing a road, but I have a trouble how to export coordinates table of sample lines?

I need a table of coordinates X,Y of sample lines.

View 9 Replies View Related

AutoCAD Civil 3D :: Sample Line Increment Not Respected At Start

May 13, 2013

Creating sample lines at a specific increment within a range starting from the start of the range is impossible unless the start of the range is divisible by the increment.  This is a defect that needs fixing.

Meanwhile you'll find me typing in the 93 locations for my sample lines.  I believe this is what we made computers for.

View 9 Replies View Related

AutoCAD Civil 3D :: Sample Line Stationing Text Not Updating

Jan 14, 2013

I have some sample lines that highlight utilities needing a section view. I've now moved my sample line to highlight the true cross section stationing for these crossings. Why doesn't the station value update for the sample line once this is moved. For some reason I remember the station text on the sample line updating itself automatically in the past.

View 2 Replies View Related

AutoCAD Civil 3D :: How To Change Labeling Of Sample Line Style

Sep 26, 2011

I am trying to figure out how to change the labeling of my sample line style from (<[Sample Line Number(Sn)]> which out puts a count of 1,2,3,4 etc to output A,B,C,D etc.

View 4 Replies View Related

AutoCAD Civil 3D :: Sample Line / Surface And Cross Sections

Nov 22, 2013

I'm working on cross sections and ran into a problem.  I had to edit my surface but it wouldn't cooperate with me.  So instead, I just erased the whole surface and restarted it.  After I got my surface the way I like it, I added my sample lines to where they are supposed to be.  Problem is, my cross sections turned out blank.

So for now, I skipped to create a surface profile and see both of my surfaces available on the bottom.  The old one I deleted and the newly created one.  It won't let me go to the bottom and erase the old deleted surface.  When I go into my toolspace-prospector....it only shows my newly created surface and nothing more.  Is this a reason why my cross sections come up blank?

I'll show you a pic of my toolspace with just the current surface and another pic of the "create a surface profile" showing that it still has both the old and new (all in CAPS) but it won't let me delete the original.

HP Compaq 8100 Elite
Win 7 Pro SP1 - 64Bit
8GB RAM
i7 860 @ 2.80 GHZ
AutoCad Civil 3d 2012 SP1

View 5 Replies View Related

AutoCAD Civil 3D :: Where Is Setting For Sample Line Label Background Mask

Jun 17, 2013

Where is the setting for the sample line label background mask?  I have some sample lines that will be plotted on top of an aerial photo, and the black box background looks terrible.  I'd like to turn it off.  I found the contour label background fine and I switched those to False without much of a problem, but I can't seem to locate the ones for the sample lines. 

View 1 Replies View Related

AutoCAD Civil 3D :: Export Point Coordinates And Elevations Along Sample Line

Sep 4, 2012

I'm working on a stream restoration project and we need to determine the x coordinates and corresponding elevations along a stream alignment at certain sample lines.  The centerline of the stream's alignment has been created as well as sample lines for cross sections at 50' intervals. We need the coordinates & elevations of each sample line (cross section) exported into an excel/txt document.

For instance, at station 1+00 of the alignment  we have a sample line.  We need to know to the right and left along that sample line the corresponding elevations and that x coordinate) from the alignment.  Primarily, whole contour intervals but more information would be useful as well.  I was hoping this could be automatically generated.

View 5 Replies View Related

AutoCAD Civil 3D :: Don't Find SampleLineLabel Property In Sample Line Class

Dec 23, 2013

In "SettingsSampleLine.SettingsStyles" there are the default properties:

 SampleLineSampleLineLabelSampleLineLabelStyleIdSampleLineStyleIdSettingsSampleLine estiloLM = CivilApplication. ActiveDocument. Settings. Get Settings<SettingsSampleLine>();string NombreEstilo=estiloLM.Styles.SampleLine.Value;string NombreEstiloEtiqueta = estiloLM. Styles. SampleLineLabel. Value;

but I don´t find SampleLineLabel property in Sample Line Class¿?Is that property in sample line group?

View 1 Replies View Related

AutoCAD Civil 3D :: Create Sample Line On Option By A Range Of Stations

Nov 20, 2012

I create the sampleline on the option "by a range of stations" so the sample lines were created on the horizontal geometry points. When I change the geometry of the alignament, the sample lines's local change or I need to do the process all over again?

View 1 Replies View Related

AutoCAD Civil 3D :: Add Sample Line To Existing Group - Redistribute Graphs FAIL

Nov 18, 2013

[URL]

Bring that back from the archives... because I am still very fond of redoing hundreds of cross sections because you're incable of redistributing the graphs when a sample line is added to a an existing group... and blow up all of the projections well done.... way to leave out a super critical dynamic component.

PPD        E P I C           F A I L

There is some unbelievable gaps in the software but how do you let this one go on for so long?  

Dell Precision T3500 - Xenon W3550 @ 3.07 (4 core)
Ram @ 12Gb
64bit Win7 Pro
Samsung SSD
NVIDIA Quadro 2000 - Dual Monitors
Cat 6 network with GlobalScape Avail Agent - WAFS
Infrastructure Design Suite Premium and Civil 3D 2012

View 1 Replies View Related

AutoCAD Civil 3D :: How To Insert Data Of Sample Line In Road Profile - Height And Length

Oct 21, 2013

I made an alignment of road, inserted with sample line, then i made a profile. But on the sample line on profile, there is not a data of height and lenght of profile. How to get those data in road profile. I can manually draw that, but i think there is an easier way? 

View 1 Replies View Related

AutoCAD Civil 3D :: Material Volume Table Stationing Doesn't Match Sample Line Group

Mar 5, 2013

(I'm using Civil 3D 2011)

I have a corridor with an associated sample line group, and I have produced some material volume tables to give me quantities for my corridor structures and cut/fill volumes. When I look at the material volume tables they are at a seemingly arbitrary stationing. The sample line group which the material volume tables are (supposedly) based on are on alignment L1000 and they run from station 1133+73 to station 1154+00 every 10 meters. The material volume tables show volumes broken down by stations starting at station 3719+58.66 and runs through to station 3786+08.92. It is sampling at a seemingly arbitrary frequency, there is absolutely no alignment in my drawing that has stations remotely resembling those numbers, and there is definitely no sample line group it could be using that samples an alignment or stationing anything like that shown in the materials volume tables. Here is a quick screenshot of what my material volumes tables look like:[URL]

View 2 Replies View Related

AutoCAD Civil 3D :: Sample Line Volume Report And Surface Volume Give Different Quantities

Jun 18, 2012

I'm working with TIN surfaces, doing cut/fill comparisons for a surface mine.

My volume surface statistics show a cut volume of 5167.22 cy and fill volume of 8456.18 cy.

The sample line group volume report show cumulative cut of 5527.67 cy and fill of 8465.56 cy.

What could be some causes of this disparity. All reference surfaces are built from points and use a non-destructive boundary.

View 2 Replies View Related

AutoCAD Civil 3D :: Sites Are Being Duplicated

Mar 22, 2013

I have a customer that has a drawing that keeps duplicating sites and putting feature lines on top of each other.  What would be causing this?

View 9 Replies View Related

AutoCAD Civil 3D :: Merging Duplicated Files But With Unique Grading And Surfaces

Jun 8, 2012

I started with a points file which I created an existing surface called EG. I then used a number of feature line to create the gradings, grading surfaces and associated volume surfaces (compared to EG) also had other drawing elements and aerial photo in place. I had a lot of grading scenarios to do and it was all in one file. It was getting out of hand, so I duplicated the file, deleted the gradings (retained the EG surface) then added another set of new gradings and volume surfaces against EG. I did this in 4 files. So now I have multiple files that contain duplicates of the same EG surface and other features, but have unique gradings and surfaces referenced to those individual EGs.

Files all have similar structure:

+Various features (duplicated in all files)

  - base aerial photo

  - other drawing elements

+Surfaces

  - EG surface (duplicated in all files)

  - Grading A-1 surface

  - Grading A-2 surface

  - Grading A-1 volume surface

  - Grading A-2 volume surface

+Site A

  - Grading A-1

  - Grading A-2

I recognise now that I should have data shared the EG surface from 1 file (and xrefed the other common drawing elements??) but given my situation now, what is the recommend way of putting it all together? 
 
Civil3D 2013 (infrastructure suite) ANZ & UKIE
Self-built i7-3930K, 16Gb RAM, P9X79 m/board
SSD(system), HDD(data), GTX680, Win7Pro64

View 4 Replies View Related

AutoCAD 2013 :: Fatal Exception Error When Trying To Move Command Line

Oct 3, 2013

I am new to AutoCad 2013 from 2000.  When I try to move my command line, because it's in the way, I get a fatal exception error. 

View 6 Replies View Related

AutoCAD Civil 3D :: How To Use The Sample API

Oct 26, 2012

How I could use on of the sample Civil 3D API that is provided? In particular, I would like to use the Export to Excel Sample API provided at the following location during the install:

C:Program FilesAutodeskAutoCAD Civil 3D 2013SampleCivil 3D APIDotNetCSharpPipeDataExcel

I am not a programmer and can not just load this sample as it is a .cs file.  How would I go about using the code already provided to create a plugin into my AutoCAD to be able to use this command?

View 3 Replies View Related

AutoCAD Civil 3D :: Sample Lines

Jul 3, 2008

I'm trying to create sample lines at sta. 0+58, 1+08, 1+58, 2+08......................

My alignment begins at 0+00.

In the Create Sample Lines - By Station Range I set the From Alignment Start?end both to false and set the start and end stations as 0+58 and 20+58 respectively. The 0+58 sample line plots at 0+58 but the rest of the sample lines plot at even 50' stations (1+00, 1+50...).

View 9 Replies View Related

AutoCAD Civil 3D :: Widths Of New Sample Lines

Dec 22, 2013

how to create a new sample line group and a new sample lines within that slg: URL....I have checked what is the default sample lines width  (create sample lines command):

Autodesk.Civil.Settings.SettingsCmdCreateSampleLines SobreanchosSamples = default(Autodesk.Civil.Settings.SettingsCmdCreateSampleLines); SobreanchosSamples = civilDoc.Settings.GetSettings<Autodesk.Civil.Settings.SettingsCmdCreateSampleLines>(); Settings Cmd Create SampleLines SettingsCmdSwathWidths anchos = SobreanchosSamples.SwathWidths; double anchoIzquierda = Convert.ToDouble(anchos.LeftSwathWidth); double anchoDerecha = Convert.ToDouble(anchos.RightSwathWidth);

But how can I put these values (left width and right width) for a new sample line?Sample line class doesn't have "left width" or "right width" property ¿? Do I have to create a new vertex? However I think that I can´t add new vertex in vertex collection.

View 8 Replies View Related

AutoCAD Civil 3D :: StyleBase Trycast Exception

Nov 17, 2011

I am creating code based on the 2011 styles sample.  I converted it from C# to VB, but it will not run correctly.  Did something get screwed up in the conversion that I am missing?

        Private Shared Sub ListCollection(ByVal objectType As Type, ByVal pf As PropertyInfo, ByVal myStylesRoot As Object, ByVal styleList As ArrayList)
            Dim res As Object = objectType.InvokeMember(pf.Name, BindingFlags.GetProperty, Nothing, myStylesRoot, New Object(-1) {})
            If res.Equals(Nothing) Then
                Return
            End If
[code]....

View 9 Replies View Related

AutoCAD Civil 3D :: Add Sample Lines To Specific Group

Apr 11, 2008

How or if you can add sample lines to a specified group? I created a group only to realize that there are some specific stations I need. I do not want to re-create the group and re-assign the materials nor reproduce my volume reports. I just want the section plotted on my sheets.

View 3 Replies View Related

AutoCAD Civil 3D :: Cross Section With Sample Lines

Jan 13, 2013

I have my surface, aligment and sample lines created, but I cant get my sample lines profiles. 

The grid apperas without data, it is like I have never selected a surface, but I did ! 

This is what I get , totally empty

View 6 Replies View Related

AutoCAD Civil 3D :: How To Sample More Sources In Profile View

Aug 15, 2012

How can I sample more sources in my profile view? I added a new surface that I want to see on my profile, but it doesn't show the "sample more sources" option like the sections do..

View 2 Replies View Related

AutoCAD Civil 3D :: Sample Elevation In Object ARX Application

Mar 18, 2013

I have an Object ARX application where I consult a TIN surface for elevation samples. I need several thousand point's elevations in a straight line.

I have the surface declared as

CComQIPtr<IAeccTinSurface> mTINSurface;

 And given coordinates (x,y) I can easily and successfully find the elevation using

//x and y are given double valuesdouble z;HRESULT result = mTINSurface->FindElevationAtXY(x, y, &z);
//+error treatment

 This, however, takes a lot of time when I have to do it thousands of times inside a for-loop varying the x-coordinate. Reading the documentation on IAeccSurface I found the Sample Elevation method (I don't paste the link here, it's pointing to 'invalid HTML' and forbidding me to post). In the hopes of improving performance, this is what I tried:

SAFEARRAY* safearray;SAFEARRAYBOUND bound;bound.lLbound = 0; //zero-basedbound.cElements = number_elements; //does this define the number of samples?safearray = SafeArrayCreate(VT_I8, 1, &bound); //zero based, safe array of X,Y,Z doubles
CComVariant variant(safearray);variant.vt = VT_ARRAY | VT_I8; //type: safe array of doubleHRESULT result = mTINSurface->SampleElevations(x,y,n_x,y,&variant); //sample in line

This is what I took from the description given by the documentation; that the last parameter should be a "VARIANT containing a zero based, one dimensional safe array of X, Y, Z values. ". My problem is that 'result' is always E_FAIL - and I'm not sure why - and 'safe array' is filled with zeroes.

I have the following questions:

Am I passing the right parameters? I have little experience with VARIANT and SAFE ARRAY types.Does the entire Sample Elevation operation fails whenever a single elevation cannot be found? (I have sections without elevation information in the surface - I'm sure the first point (x,y) DOES have a valid elevation value, though). Would I really see performance gain by using Sample Elevation instead of multiple FindElevationAtXY, as I assumed?When calling Sample Elevation, I'm not entirely sure how the sampling is considered. Does the method recognize the size of the array and divides the distance between the initial point and ending point equally, resulting in that many samples? 

View 3 Replies View Related

AutoCAD Civil 3D :: Export Alignment And Sample Lines

Feb 15, 2013

I have an alignment with sample lines, I need to export these to a new drawing. i tried export/import land xml, but it did not work.

View 4 Replies View Related

AutoCAD Civil 3D :: Why The Sample Lines Don’t Appear On Prospector

Oct 18, 2012

Why the sample lines don’t appear on the prospector?

I’m wondering why the sample lines don’t appear on the prospector like other components such that we can have an access to delete them, for example.

How can I get a list for all the sample lines?

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 6 Replies View Related

AutoCAD Civil 3D :: Sample Elevation In Object ARX Application

Mar 19, 2013

I have an ObjectARX application where I consult a TIN surface for elevation samples. I need several thousand point's elevations in a straight line. Initially, I was making thousands of FindElevationAtXY calls, but that proved to be somewhat slow, so I searched and found SampleElevation in the documentation and was hoping it'd provide me with performance gain. 

I had some problems, due to my inexperience with VARIANT and SAFEARRAY types, but now I get what seems to be correct results when passing an initial and ending point. Here's a code snippet of my call, which succeeds and gives me the correct elevations;

HRESULT result = mTINSurface->SampleElevations(x,y,n_x,y,&variant); //sample in line

Note that I'm sampling a line along the x-axis (y constant).

The problem i'm facing is that the number of samples along the line provided by the method is far smaller than I expected.  I need thousands of points along this line (in fact, I want all points with exact  round x-coordinates), and no matter what size I provide for the safe array of doubles given by 'variant', I get only a few hundred points. Furthermore, I've checked and the offset between any two points in the resulting sample is not constant, nor are they the same when I sample a different line (increase y coordinate by one).

Here are my questions: Why are these points chosen by the method - I mean, are they chosen because they are somehow 'significant'?Is there a way to specify the number of points I want along this line?Would it be at all possible to determine a constant offset for the samples (i.e., I want coordinates at specific points x-units apart from each other)?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved