AutoCAD .NET :: How To Get A Point In Polyline With Set Distance
Oct 23, 2013
How to get a point in the polyline with a set distance and obeying my current ucs. A projection of the point as an orthogonal snap.
I wrote a code creating a polyline between the lowest and the highest initial polyline and obtaining the intersection. But when it comes to many points the rendering is quite time consuming.
View 4 Replies
ADVERTISEMENT
Jun 9, 2011
I'm trying to draw a plan of my house in Autocad 2009 but I seem to be endlessly using trim and extend because I can't easily select the points that I want with osnap. Eg. imagine I have a box, and I want to start drawing another box inside it that has each side as 10 units smaller than the corresponding side on the outer box.
Step 1 - I draw a small line from the top left corner of the big box using the endpoint snap, typing in "5" for the length.
Step 2 - I then do the same at right angles to the first line to get me to the starting point of the inner box. This always leaves me with 2 small lines to remember to delete.
Step 3 - Then in order to draw the top line of the inner box I end up drawing to a random length because I can't say "draw until 5 units away from the right hand side of the big box", then I end up trimming it later once I've repeated steps 1,2 and 3 for the next side of the inner box.
I know in my example above I could have scaled the box down or something but that's not what I'm getting at. I really want a way of selecting line start and end points that are a known position away from an existing point.
View 9 Replies
View Related
Aug 5, 2011
I am trying to get the distance of multiple block insertions that fall along a polyline to the startpoint/endpoint of said polyline.I can do this pretty easily using straight line (as the crow flies) distances between the block insertion and the polyline startpoint/endpoint, but I need the code to actually follow the polyline whenever it changes angle.
Is this possible using .NET? How to start it?Below is my code to to get the straight line distance between the polyline startpoint and block insertion point:
Dim dist As Double = Math.Sqrt((acPline.StartPoint.X - acBref.Position.X) * (acPline.StartPoint.X - acBref.Position.X) + (acPline.StartPoint.Y - acBref.Position.Y) * (acPline.StartPoint.Y - acBref.Position.Y))
View 2 Replies
View Related
Aug 16, 2013
Im still new to Civil 3D and i would like to know how to connect inported points using 3D polylines. I imported my points from Excel in a PNEZD format. How do i get the 3d poly line to snap to my points so I can Connect them? someone mentioned using a feature line to connect the points but im not sure how or what that would do.
View 3 Replies
View Related
Sep 10, 2012
There are times that I have a really long curb polyline that has both line and arc segments. I wish to pick two points along that polyline and have it give me the distance between those two points along the path of the polyline.
Do we have this ability natively? Have I been missing something all this time? Normally I have to make a copy of the original entity, ... break, break, list erase or undo....
View 6 Replies
View Related
Dec 14, 2012
I have located steel beams of an existing building roof frame. I am being asked to provide a distance from the theoretical roof to these points. The roof is sloped and I can create the sloped roof plane but I am unsure how to get the distance from the point to perpendicular to the theoretical roof slope, not the difference in elevation. Also would it be possible to label or make a table?
I am using Autocad 2013.
View 1 Replies
View Related
Apr 25, 2013
I read all of the posts I could on point gaps and know how to make the leader reach for the center of the point. What I want is for the leader to actually attach to the block of the style I have created. Is this possible, or do I need to find a new way to label of these points so that the leader touches the block. Also I noticed the gap is not consistent from point to point.
I am using civil 3d 2011 with the latest service pack.
Civil 3D 2013
HP Z400 Workstation
6GB of RAM
296GB HDD
ATI FirePro V5700(FireGL)
Win 7 Home Professional
View 5 Replies
View Related
Jun 27, 2013
How Can i Get the distance between two base point of any two block in any UCS and WCS
View 3 Replies
View Related
Mar 4, 2010
I use point filters allot when measuring distances. I noticed today using Full CAD 2010 that when i measured a distance (Say 2m) using a "Y" point filter, between two objects not directly below one another the answer i got was wrong. It seemed to give me the distance of where my crosshairs where at the time of finishing the command.
I have tried this on another full system of CAD 2010 and a light version. Problem occurs on all.
I know that if you just measure between the points CAD will give you the (-Y) answer in the command line, but using point filters is an old habbit hard to kick.
View 7 Replies
View Related
May 28, 2013
I was asked to lable survey data with the (2D) distance between the design surface and the survey points of the finished ground.
View 9 Replies
View Related
Oct 8, 2007
if its possible to have a command which does a multiple distance? at the moment im drawing a polyline, doing a list on it then deleting it, which is a bit mudane now.
View 9 Replies
View Related
Sep 18, 2013
I need a lisp that creates a polygon of N points, so to enter a only the distance between these points, after choosing N points in the drawing for approximately creating polygons.
View 7 Replies
View Related
Aug 13, 2012
I was wable to write some code that makes some already drawn objects on autocad into a selection set. What I need to do next is copy the selected objects and move them over like a distance of 50 to the right.
View 7 Replies
View Related
Jul 8, 2013
How to move circle -centerpoint- to the middle of distance between two rectangles?
I am using autocad 2013.
View 9 Replies
View Related
Aug 22, 2011
Lines snap at an offset distance (0.0000274 m e.g.) from the actual point. What change of settings can resolve it?
View 2 Replies
View Related
Jan 31, 2013
I have a line polyline and point1 (outside polyline) . I want to define a point2 (on polyline ) aligned or perpendicular with polyline. What method to use?
View 1 Replies
View Related
Aug 12, 2012
I tried to set Polyline.StartPoint to new position (Point3d):
Polyline.StartPoint = myNewPoint3d;
I have "not implemented" exception.
Also, I tried to do it as:
var seg0 = acEnt.GetLineSegmentAt(0);
seg0.Set(newPoint3d(0, 0, 0), seg0.EndPoint);
It doesn't work also. I can do it as:
acEnt.SetPointAt(0, my2dPoint);
But it's 2D point, not 3d
Of course I can remove polyline and create it again, but. How to set start point correctly for 3d point?
View 3 Replies
View Related
Jan 21, 2014
I used the measure command to place points along a polyline. I'd like to draw a poly from the points that were created. I can't seem to snap to those points. I don't see anywhere to get the osnaps to snap.
View 2 Replies
View Related
Mar 15, 2012
if i'm using polyline it doesnät show any snap points?
View 9 Replies
View Related
Aug 14, 2013
I want to create points from the polyline to identify in the field. For example, I create a square for a concrete pad and I want to identify the corners of the pad.
View 4 Replies
View Related
Mar 13, 2012
I've been going through some examples on [URL] to create polylines and i've managed to make some code run. One thing that I can't seem to find information on though, is how to use the default AutoCAD command line options in my code. For instance, I would like to be able to prompt the user whether they would like to snap the polyline to an insertion point, everytime they create a new verticie.
Below is some example code from the site that i'm working from:
namespace MyPlineApp
{
public class MyPlineCmds
[Code].....
View 6 Replies
View Related
Feb 10, 2012
I would like to know if there is any way to detect if selected point of the selected polyline is its vertex?
1. The user is drawing rectangle or any other figure with polyline.
2. Entering command "GetMe".
3. Selecting polyline.
4. Selecting point.
Is there any built-in function in Autodesk's API?
View 6 Replies
View Related
Jun 6, 2013
I draw 3 lines to form an open polyline. They are still in lines, not converted into a polyline.
How do I find the start or end point of the polyline with program? I am thinking to check all points which is not shared by two lines.
View 2 Replies
View Related
Feb 16, 2013
i need a lisp routine for a situation like this:
I have a polyline consisting of various point intersections, total length of polyline is around 600m. I want to place a point along this polyline at some distance e.g. 50m.
View 4 Replies
View Related
Feb 3, 2013
how to offset a opened polyline by pick point on side of opened polyline.
View 3 Replies
View Related
Mar 19, 2013
I am writing a routine that will place a piece of text at a specified point along a polyline. My problem is to determine the angle for the text. It needs to be the same as the segment of the polyline that it falls on. Just can't get my head around how to get that angle?
I can get a list of the vertex point of the polyline, but how do I determine the segment the point falls on?
View 3 Replies
View Related
Jun 28, 2013
I continue learning....
(setq ins (vlax-ename->vla-object ( ssname sele cod)) nombre (vla-get-name ins) ) (setq bloque1 (vla-item (vla-get-Blocks (vla-get-Document ins) ) nombre ) ) (setq s_ent1 (vla-item bloque1 1)) (setq pt1 (vla-get-startpoint s_ent1 ))(setq pt2 (vla-get-endpoint s_ent11 ))(setq s_ent2 (vla-item bloque1 2)) (setq pt3 (vla-get-startpoint s_ent2 ))(setq pt4 (vla-get-endpoint s_ent2 ))(command "_pline" pt1 pt2 pt3 pt4 "c")
Why dont draw de _pline?
View 4 Replies
View Related
Oct 11, 2011
I've have code to test if the insertion point is within a closed polygon. But prior to testing the insertion point I use ssget to trim the selection set initially..
(ssget "CW" Pnt_List (list (cons 0 "INSERT")(cons 2 BlockName)))
this requires that the whole Crossing Polygon is visible, so I do a zoom first. This requires time. Is there a way I can do this that does not require the zoom?
View 3 Replies
View Related
Mar 17, 2009
Is there any way of displaying the geodetic distance(ie "mapdist") with the dimension tool instead of the normal distance?
View 2 Replies
View Related
Jul 30, 2012
I am trying to oTrack distance from the top circle edge of a cylinder to a certain distance ... whenever i try to do that ... it either track to x and y .. but not in z :/ ... the video i have on you tube he did it so simply and it seems to be easy .
I am not sure what is wrong .. but i heard parallel and perspective view could make a difference .. i actually try both :/ ...
[URL].....
View 9 Replies
View Related
Nov 6, 2013
Is there a way, when you are drawing a polyline, to have the tooltip box show the cumulative length of the polyline, rather than the length of the current segment being drawn?
View 6 Replies
View Related