AutoCAD 2013 :: LISP For Placing A Point On Polyline
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
ADVERTISEMENT
Feb 13, 2013
I would like to create a lisp that places a block at a pre-calculated point. I've created a lisp that fetches me a block to place into my drawing. The only thing is
I have to point out the place i want it to go. I want it to got into the corner by it self. I would like to create a lisp that calculates, by the retrieved variable of the layout / paperspace, minus 10
from the bottom right corner. minus 10 from the bottom up and from the right edge to the left.
View 9 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
Aug 7, 2013
I am looking for something a lisp or program that would do a light point by point of fixtures in a plan.
[URL]
View 1 Replies
View Related
Nov 5, 2012
i'm looking for polyline lisp. I type PLINE and type Width specify starting width is 0.0 next specify ending width is 90.0 and then i type 200mm for my distance then i choose again the Width to become 0.0 (starting and ending) then choose Arc. How to create lisp polyline?
View 1 Replies
View Related
Jun 7, 2012
I would like to take all the vertices out of a multiple-vertices polyline so that it reduces to just its start and end points, can this be done?
View 4 Replies
View Related
Sep 21, 2013
Due to modeling purposes, I need to convert a 3D polyline to a spline. What I have been doing is:
- change polyline fit/smooth to cubic from properties
- convert polyline to spline by typing spline -> object
- method -> fit from properties
You can see the original 3D polyline (green) and the resulting spline (magenta) in the attached drawing.When I zoom in and measure the distance between the two entities at different points along them, at some points the perpendicular distance exceeds 5 millimeters, and I want to ensure the deviation remains under 1 millimeter or even less.
I know I can change the knot parameterization of the spline, and this does work at some locations, but the difference increases at others.Why is there a 5.6 mm difference between the spline fit point and 3D polyline vertex, as measure in the attached drawing?
Now, I can go and manually stretch the fit point to coincide with the vertex. Also, I can add fit points between existing ones to drag the spline closer to the original 3D poly.
However, some of my polys are really long, and it is very time-consuming to do this manually while measuring points along the entities to make sure the distance stays small enough.
how to automate this process? For example a lisp that would maybe take the original vertex points, add say maybe 3 (not too many) new ones between them, and then generate a spline while making sure the deviation is less than the set value of 1mm? I am using AutoCAD 2013.
View 5 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
May 31, 2011
Is there a way to keep the selection line to stay after you place the end point? Right now the default (and my guess the only way) just removes the selection line and dots the lines selected.
View 3 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
May 29, 2012
When placing a puch table in a flat pattern drawing, can the origin point be placed anywhere or does it have to correspond to the origin point of the Inventor drawing (0,0,0)?I placed the origin point at some point which I randomly chose but no table popped up for me to chose the puch table option.
View 3 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
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
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
Jul 1, 2013
I am using to export meshes to OpenGL ES for the Android. What I would like to do is place a rectangle with one corner at (1,1,0) and the other corner at (-1,-1,0) which represents the two corners of the Android screen in OpenGL ES. How would that best be done in 3D Studio MAX?
View 1 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 3, 2013
how to offset a opened polyline by pick point on side of opened polyline.
View 3 Replies
View Related
Sep 24, 2013
I am trying to create a lisp file to automate the placing of angular dimensions at all of the vertex's along a very long polyline. There are 500-600 nodes at least and we need the angle between the incoming and outgoing lines at every node.
Is there a way to automate this with a lisp file, or am i relegated to clicking 1800 times and waste 3-4 hours doing this?
We get these files quite often and this will be a huge benefit to us.
View 5 Replies
View Related
Jan 10, 2012
Is it possible to have Multi lines of text in a .dcl edit_box or such?
View 4 Replies
View Related
Aug 21, 2013
In uploading the Point input data into the AutoCAD Civil 3D 2013 software program, is it possible for me to add more Point Attribute items after Point Number, X, Y, Z? I need to have the chemical results/data attached to the (sampling) Point that has the Point #, X, Y, Z - like Point Number, X, Y, Z, Arsenic, Lead, Mercury in the input .txt (or .csv) file.
View 9 Replies
View Related
Mar 8, 2014
Is there any way to locate exact center of a circle in after effects? I made a perfect circle in photo editing program and since layer's boundaries corresponded to circle's edges, i thought that anchor point in after effects will be exactly at the center. but it's not the case - the anchor point is at the center of a composition!
I imported the circle .psd layer together with other layers as a composition, does this have any importance? As i said,the circle layer boundaries corresond with circles edges, not with canvas' edges in my photo editing program. But whe i solo the circle layer, i see that the anchor point is at the center of a composition, not the layer.
So now i have to place anchor point at the center manualy, and it's pretty difficult to do it perfectly. when i rotate the circle, it wobbles and wobbles.
View 4 Replies
View Related
Jul 6, 2012
AutoCAD MEP 2013. Having a repeated crash when creating a 2D section view. Works great up until I place the 2D section and then crashes. I have tried using sections from Electrical and Arch palletes but same thing. I've used this tool thousands of times on other versions but this is the first time with 2013.
View 2 Replies
View Related
Aug 23, 2012
I got this weird issue when placing my custom made titleblocks in AutoCAD. All the attributes of the block jump to standard text style when placing it in my drawing. Allthough this ain't allways happening. It seems to me like there's a setting for this but i can't find out how.
It can happen suddenly too. Like when i open a new drawing and then add my titleblock, it's like it should be most of the times. Allthough when i start to edit the block (scale/move/copy,etc) it can change like you can see in the drawing below.
Offcourse, as a company, you do not want to deliver your drawings with a titleblock like this.
View 1 Replies
View Related
Oct 28, 2013
Is there a way to put a hatch mark (dimilar to a DIMCENTER) at a "virtual sharp"? For example, two 90 degree lines have a 1/4" fillet/radius between them. I want to put a small cross there the lines would have theoretically intersected.
View 4 Replies
View Related
Sep 26, 2012
trying to insert point instead of block.
(setq blok (entget (car (entsel))))
(setq point (cdr (assoc 10 blok)))
(setq XX (rtos (car point) 2 20)) ;; x koordinata bloka
(setq YY (rtos (cadr point) 2 20)) ;; y koordinata bloka
(setq ZZ (rtos (caddr point) 2 20)) ;; z koordinata bloka
(command "point" xx,yy,zz) is not working
!xx="5582453.414999999" but when i (atoi xx) i get 5582453 no dedimals...
how to create valid insertation point from xx, yy and zz?
View 6 Replies
View Related