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
ADVERTISEMENT
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
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
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
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jul 6, 2012
If I overlay a PDF into a DWG is there a way I can use snaps to line up the PDF on my drawing?
View 4 Replies
View Related
Nov 7, 2013
At work, I notice that some of the newer draftsman (Me and about 3 other who have been there for 1-4 years) tend to prefer AutoSnaps on in some capacity and those who have been there for 7+ years tend to leave it off.
This has got me thinking about whether people prefer having AutoSnaps on in some capacity or another at all times.I tend to leave on End Point, Mid Point and Intersection on at all times, and just use CTRL + Right click to adjust as necessary.
View 9 Replies
View Related
Jan 4, 2013
After working for a short time in 3D, my object snaps dont actually connect to any visible corners or points on the item I have chosen to edit or move. The triangle or square appears further from the point I select. The only work around is to close down the program and restart. After only a few transactions, the problem starts again.I have checked the system and found it is using the latest driver.
View 6 Replies
View Related
Nov 28, 2013
Recently my Object Snap (F3) stopped working. Object snap is turned on and i have selected what i want to snap to in the options (OS) tab but it doesnt seem to be working.
I have also selected Tracking (F11) which is working fine.
What can i do? I am running AutoCAD LT 2010
View 1 Replies
View Related
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
Jun 20, 2011
A lot of the LISP routines we use turn off all snaps except the "nearest" snap when the routine is complete.
I draw with 6 out of the 10 snaps on (not the nearest).
LISP routine that loads specific object snaps?
View 9 Replies
View Related
Apr 30, 2013
I'm constantly picking the 'none' snap when i mean to pick 'nearest'. I want to delete 'none' from my list of snaps that come up when i click the middle mouse button. how is this done?
Dell Studio XPS 9100
Intel Core i7 CPU 930 @ 2.8GHz
12GB Ram
64 bit
C3D 2012 SP3.0
View 2 Replies
View Related
Jan 27, 2014
Sometimes it works. Lately it rarely does. I have tried holding the command key and this does nothing. Why can I not move objects anymore.
View 3 Replies
View Related
Jun 14, 2013
So I have a proposed storm sewer pipe network and 90% of pipes snap to the structures fine, with a start/lengthen snap on one end and an end/lengthen on the other, and a location/pipe diameter one in the middle. When I go to draw one of the pipes though, I draw structure to structure and it doesn't sit properly. I click on it to make sure it snapped to the structure but there is no start, end, or lengthen snaps on either end of the pipe. Only a Location/Pipe Diameter one in the middle. Therefore, I cannot manipulate it's length or where it connects, I can only move it around from the center.
View 5 Replies
View Related
Oct 9, 2012
I use the create feature lines from object command from the Survey pull-down menu and choose a "Associate figure survey point to vertices" I get a survey figure that uses point elevations at some vertices and 0 at others. However, if I use Create Feature Lines from Objects under the Grading pull-down, and use a surface made of just the points, I get a a figure with all the correct elevations.
I checked the vertices where the survey figure drops to 0 and the line is snapped to the point, distance = 0.0000. What gives?
View 2 Replies
View Related
Oct 17, 2013
How shall I draw lines into a created surface using raw or full description of ascii file format(COGO)
for example in the imported file i have points to describe a road center line(CL),or edge of the road(ERD),breaklines(BRKL) and want lines represented by the descriptions to be drawed in the surface so that i can use the lines as guides in profiles design.I didn't want to use point number which are not serially ,and have tried to use point grouping without any success
The attached file could be of good use.
View 2 Replies
View Related
Oct 31, 2012
C3D 2012 SP2.1 on Win7-64
I have a marker on a cross section that was projected from a short feature line that I created from a 3DPolyline. If I move the cross section (they never come in correctly, right?), the feature line moves too. If I use a 3Dpoly, this doesn't happen. Only went to the feature line because for some reason, when I went to Project Multiple, the 3Dpolys weren't picked up.
Now I wondering if I've moved feature lines on other projects where I have moved the sections. Could be a real problem. Most of those, though, had a mix of feature lines and 3Dpolys, so they would only be partially messed up! Hopefully, I moved the sections before doing the projection.
View 2 Replies
View Related
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