AutoCad 2D :: Select All Thirty Or Forty Of Lines And Return A Total Length Of All Of Selected Lines
Jul 9, 2012
I have selected several lines (not pl or spl), just lines, all of which are the same layer and such. I want to be able to select all thirty or forty of the lines using either the select similar (lisp, AC2010) or quick select and return a total length of all of the selected lines. In the properties box it shows as varies.
View 2 Replies
ADVERTISEMENT
Apr 23, 2013
Is there any easy way to get the total length of selected lines (even if they are not "connected") ?
View 6 Replies
View Related
Nov 5, 2013
I have a large group of lines that I want to get a total length of. Right now the only way that I know how to do this is to highlight them all and use the list command but then I have to go through the text box and write down each line length and then add them up. This is fine if I have only a few lines but when you get into the hundreds or thousands it becomes a monster task.
I tried copying the text box data into a Word document, removing all of the text except for the line lengths and then dumping that into Excel to calculate. This works ok for a hand full of lines but is not really practical.
I know that there are LSP routines that can do this in the full version of AutoCad but LSP is not supported in AutoCad LT.
Is there a way to automate this process in LT?
Or maybe extracting just the length data from a line to a text file where I can send it to Excel and use Excel to add up the lengths?
View 2 Replies
View Related
Oct 24, 2011
I have a plan prepared for CNC steel sheet laser cutting. One factor in the costing of the cutting is determined by cutting time or length of cutting. I want to determine the total length of all the lines in a selection so that I can determine what is the most economical design to achieve my goal. Is this possible in ACAD?
View 2 Replies
View Related
Jan 4, 2014
I need a lisp file that can read the total length of selected object (lignes, polylines) and summarize them by layers or by color in a table
e.g
command:tl (total length)
select objects
found total length.......
select object (Ent)
total length or [Add/Subtract/Table] :
total length = .......
if table
Enter an option by [ Layer/Color/line Type/line Weight] <layer> :
View 4 Replies
View Related
Jun 28, 2013
Being all new and complete virgin-like, to ilogic, I would like to know wether it is possible to analyze a sketch (wenn it is being closed)?
What I want to analyze is:
Does the sketch contain a fully constrained closed loop?
Does this closed loop consist only of straight lines?
What is the total number of lines in the loop?
Next fase is:
Create an excel-sheet with the following information:
For each line in this closed loop i wish to add the length of the line, and the angle to the next line (consequently on the internal side of the loop, resulting in angles from 0 to 180 degrees).
View 2 Replies
View Related
Oct 7, 2013
I have a lot of lines that I need a length, like in attached file. At this moment I do it with a vba that put fields in all lines.
The problems:
1) fields makes drawing slow to regen or after I modify line.
2) fields not follow lines slopes and position, if I stretch or move one end point of line. Text must be in middle of line.
So I thinking use reactors .
I tried reactor but I don't have much experience in lisp and I am having problems with persistent reactors, after I close file and open again, load lisp. Reactor not continue persistent.
This is a test that I tried. Works only for one line.
(defun print-align-text ( owner reactor lst / sp ep a d )
(setq sp (vlax-curve-getstartpoint line1))
(setq ep (vlax-curve-getendpoint line1))
[Code].....
I have read that is better store data using XData. In VBA I tried construct class module with events, without any success.
View 9 Replies
View Related
Oct 31, 2013
I was wondering if it is possible to measure the total length of lines I have in one layer without using the measure tool on each individual line. In searching other posts a lot of answers reccomend using LISP. Since I am not familiar with LISP at all and haven't purchased the add on is there a simpler way using AutoCAD LT?
View 2 Replies
View Related
Aug 17, 2003
how do I make straight lines? Horizontal Lines? Vertical Lines? Curvs? I read many tutorials and i am afraid that I am doing it the wrong way, my way is to drag a guide to where i want the line to be at and trace the guide with the brush tool...
View 2 Replies
View Related
Mar 21, 2013
How can I have sketch lines drawn to perfect lengths. I mean it should be in multiples of 1/16 of an inch.
Inventor Professional 2013
Vault Collaboration 2013
View 9 Replies
View Related
Jul 23, 2013
I opened a part today and noticed that it had collapsed into itself.
This should be a rectangle 85x15.75:
On closer inspection it appears that the vertical lines somehow became zero length lines. Why does this happen?
Edit: I should mention that I was able to repair the skecth by making the 85" dimension driven, then dragging the line over...
View 3 Replies
View Related
Jan 23, 2014
I have a line that i would ideally like to divide into 3 equal segments. The divide command places points along the line, but I can't snap to them.
I know that I can place a block at each point which I could snap to, but is there a way of doing it without creating a block? Also is there a command that actually splits a line into 3 equal-length lines?
View 3 Replies
View Related
Nov 18, 2012
Some times when I re open a drawing I have been working on, I start to dimension and I notice that the dimension extension lines stay the same length when I move the dimension in and out from the object being dimensioned.
Not sure why this happens, I do all my dimensions in model space, in fact I do just about everything in model and then just set it up in paper space to print.
I never change anything when I start a new drawing in my template, so not sure why it happens.
View 2 Replies
View Related
Jun 23, 2012
I am drawing a diagram to describe a mathematical word problem. Since it is easier to visualize with a drawing, I want to draw it using the given dimensions. But angles used in the diagram are unknown and are not needed for the answer to be calculated, so the only way to draw this freehand is to guess at the angle resulting in the correct distances to be off.
Here is the word problem: There are two ladders, one 40 feet and the other 30 feet, each touching the base of one of two buildings and leaning against the other building. If the ladders cross 10 feet above the ground, how far apart are the buildings?
So for my drawing, being rather simple considering what AutoCAD can do, results in this:
Can AutoCAD calculate the angle needed to place a line of a given length between two parallel lines that are a distance apart less than the length of the line to place between them, having the endpoints of this line touching the parallel lines, fitting exactly?
For the word problem, the distance between the two parallel lines is what needs to be solved and the math is quite invloved, having to find the roots or solution of a quartic equation. (I have the solution figured out to be 26.03287754 feet)
What I am afraid of is that this would require to program an AutoLISP routine to create a new command that one can call from the command line. I see it using the the measure command with relative and absolute co-ordinates. This may be far from a "beginner" question. I can do this quite easily on a peice of paper: having two parallel lines drawn, take a ruler and placing the "0" mark on one line, then adjusting the angle until the desired length just reaches the opposite parallel line. I used to use this trick quite often when drafting with pencil and paper to divide a distance into a required number of even amounts, so this can't be that difficult to do with AutoCAD!
View 9 Replies
View Related
Nov 8, 2002
Is there any utilities that can select the entire drawing with the 2d polyline and erase all the polyline less than specify length (eg:10m,20m etc) ?
View 4 Replies
View Related
Aug 6, 2013
I have lisp code, which count total length, but I need that it count and multiply by constant which I choose manual (such as in example, total lines yellow length * y + total blue lines * x = ... , example 50*2 + 60 * 3=280),
remember the another code, such as I have d200 with total l=1000 and d250 with total l=1500, i need to count total cost such as 1000*y+1500*x
one think, diameters numbers is not only 1 or 2, it can be many different diameters.
dwg file here:
[URL]..........
lisp file here:
[URL]........
View 9 Replies
View Related
Feb 18, 2013
I have an OS plan with the 100 metres squares marked.I want the ruler to coincide with the known 100m length.Then I can mark on layers various lines of say 7m or 25m long.How can I set the ruler and guides to enable me to draw lines such as this.
View 9 Replies
View Related
Oct 5, 2012
Re: 2D circle jagged lines, 3D model hidden jagged lines. How do i get smooth lines?
How do i get rid of jagged lines?
Circles and diagonal lines look rubbish when i am in hidden view which i use for simple 3d black / white (i think this is the best way?).
I have tried:
- viewres (1000, 5000, 10000, 20000 sightly better)
- regen
See examples.
square with jagged lines.fw.pngcircle with fuzzy outline.fw.png
View 8 Replies
View Related
Jan 17, 2012
Is there way that within a drawing view, hidden lines can be shown for only some of the parts of an assembly, rather than just being a global toggle setting for the whole view? I know that it is possible to hide individual lines, but It would be good to be able to do this on a part basis, as some drawings can have thousands of hidden lines that would need to be selected and turned off.
View 2 Replies
View Related
Jan 23, 2012
I'm having trouble with the "extend" function on AutoCAD 2012 (windows). Randomly, the "extend" function will delete the lines I select. I sometimes will have to undo and re-input "extend" three to four times for it work properly.
View 2 Replies
View Related
Apr 9, 2008
I have a strange thing that recently started on a file that I've been working for a while. All of a sudden I can't select line/poly lines to modify, howe3ver I can with others on the same layer. I've noticed the lines I have problems with are generally in the same direction. Some times I can highlight but can't tag to the snap markers. I did <change> command and did a select – all and changed the elevation to '0' and it actually worked for a while, but it reappeared again. When I hit regen those lines disappear and reappear again when I open the file again or when I play with the attribute display.
View 9 Replies
View Related
Dec 24, 2011
I notice that in every magazine each line of an article has exactly the same length as the the others despite the fact that there is a different number of words in each line. Moreover, spaces between words change from line to line, according to the amount of words in each one, and as a result every single line has the same length as the ones above and beneath it.In GIMP, when you use textedit (ie this ) you cant do what i mentioned above. Every line ends up in different lenght as each word that does not "fit in the box" goes to the line beneath it thus making a text look kinda ugly.
My question is, is there a way to align all the lines in order to make them have the same length? (just like a magazine would look)
View 7 Replies
View Related
Feb 6, 2011
I want to select all lines colored with red. qselect is not working sometimes. filter is to detailed for this simple task. what is the fastest way to select object by color?
View 9 Replies
View Related
Aug 28, 2009
Acad 2009 When you have a number of lines or layers on top of each other, what is the correct way of toggling between them when trying to select 1 in particular.
View 9 Replies
View Related
Sep 17, 2012
I have just been doing some work for a company and they were using AutoCAD 2009.
One of my tasks involved stretching and moving items from imported drawings over Architectural layouts. Lines drawn on the x and y axis were fine. However, if I zoomed in on angled lines they moved out of view making them difficult to select or position to a snap point. If I selected those lines then they remained in place when I zoomed in.
When I approached the company manager he replied by saying that he would zoom in then zoom out to the point where the lines were correct and in place. I thought that he was either joking or was testing me! It meant I could not do any detailed work - which contradicts the use of Auto CAD.
The question has to consider the fact that the lines were angled and that they remained static when selected. When zooming in and selecting them they were off and running out of the screen view. also note that my colleague at the next desk opened up the file on V2008 and he could zoom in okay. I was also using a wide screen if this matters.
View 9 Replies
View Related
Nov 7, 2013
I'm just trying to do the same job I've been doing for years but have a sudden problem seeing which lines I've selected. I suspect I've switched something on or off somewhere. I select a single line and it is highlighted. I tselect more than one and there's just a great box which also encompasses lines I was not selecting. The individual lines are not highlighted (as they used to be) so I can't see what really has been selected.
View 2 Replies
View Related
Oct 26, 2011
I am having trouble trying to select certain lines in order to delete them.I am using AutoCAD 2009.
I am needing to import my map to a program to use.When I import the map the program is only showing the useable portion of the map in the top right corner because there are some invisible objects hidden at the edge of the .dwg file. When i hit cntrl+a, these show up but otherwise I can't select them. I would like to know how to make these items selectable so i can delete them.
View 9 Replies
View Related
Dec 5, 2013
How Do I find the total length of several objects or separate lines without having to click on each one individually and add them up.
View 5 Replies
View Related
Oct 18, 2013
how to calculate the total length of walls.... by one command or i just calculate it one by one.....
View 4 Replies
View Related
Jul 10, 2012
I use poly lines for wiring, after completing all the routing, i need to calculate the total length of poly line, then wont calculate if line is broken at a point.
View 2 Replies
View Related
Nov 24, 2013
I don't know if it's good place to post it but finally there's a plugin in Autodesk exchange to count total length of elements. It names 'Tlen' and I've found it very handy.
View 1 Replies
View Related