Jump to content

Need help approximating wire run lengths


Recommended Posts

Posted

I need to estimate wire lengths running from various blocks to a common point. It would be helpful to have the x and y distances instead of the straight line distance and it would also be helpful to be able to select multiple blocks and have their respective lengths summed as well.

 

i can create a dynamic block with a line stretch action to specify the start and end of the measurement, but i think i would need some LISP code to get what i'm looking for. any help?

 

EDIT: Using AutoCAD 2009

Posted

If the connecting lines are on 1 layer then its easy theres a few different ways search here "Total" theres lisps etc that will add up based on a search criteria say layer

Posted

that's the method i'm using now, drawing lines and totaling the lengths. what i'd like to do is place a block, drag a line to the central point and be able to total the x and y distance of that block (and several hundred others) to the central point.

Posted

You missed my point it totals all lines in one go also found this _DATAEXTRACTION may be worth having a look at.

Posted

no, i think i understand what youre talking about. i have a lisp routine that gives the total length of all the selected objects / lines. what im hoping i can work out is a way that i wont have to draw the individual lines (representing wires) because i have to do it several hundred time.

Posted

You're saying that you have a dynamic block with straight line wires, but you're redrawing over the block with individual lines? Is that right?

Posted

currently, i'm drawing the wires individually from each block to the central point and using a LISP routine to total the lengths. i was suggesting that i could create the blocks as dynamic blocks with the stretchable straight line, hoping that i could place the block and specify where the central point would be and then be able to collect the lengths without having the draw the wires

 

recently ive been playing with the dynamic blocks and collecting data via an extraction. i might have better luck using excel to do the wire length calculations

Posted

I think as long as the lines are straight, no jogs, then the dynamic block with a polar stretch or stretch would work. Then you can probably use the aforementioned Data Extraction for the Distance Parameters.

Posted

Is the answer insert blocks forget dynamic, pick a point total distance from pt to all blocks no lines drawn yes that could be done pretty easy if insert point of block is the controlling joining point.

 

pick point, pick a block, total answer displayed.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...