Jump to content

Recommended Posts

Posted

Can you add an attribute to a non-blocked entity? Basically, I want to "name" plines.

 

In case I'm going about this wrong, let me ask the question another way. I'm just getting used to the wonders of attributes & data extraction (I love it!). Right now I have blocks with attributes that I use data extraction to count. I also need some way to calculate length. These blocks represent electrical devices - then I need to calculate the amount of wire used to connect the devices. So now I use a pline to join the devices, get the length of that polyline, and then manually enter that length into the spreadsheet from the data extraction. But...I'm thinking if I can link an attribute to a pline, then I can include that in the data extraction and automate it. But I don't see how I can use a block for this, since the pline will be completely variable and needs to be "custom-fit" for each circuit.

 

Ideas?

Posted

unless something has changed with 2011 you cannot use attributes on anything other than blocks.

 

if all your lines are straight can you use a dynamic block with a stretch action?

Posted

I don't see how...wait a minute. I've been using a single pline joining the multiple (from 2 to 20) device blocks and then viewing the resulting length. I guess I could try making a block with a circuitname attribute, inserting it multiple times to join each pair of devices - and then total the lengths in the extraction. Hmm....

  • 2 weeks later...
Posted

I want to use a curved polyline/arc for my circuit builder. I'm creating a block with grips to change the endpoints, length, and curve. How can I obtain the length of the curve - as opposed to the linear distance between the endpoints?

Posted

If all your lines are plines arcs lines etc theres lots of add up all the length of the objects lisp and vba programs, as a simple answer you would do the total length of a particular layer.

 

I would stay with plines rather than blocks easier to change.

 

Ssearch here for "total" as a start

 

Found this in the archive section at the bottom of the home page

http://www.cadtutor.net/forum/showthread.php?42734-Line-Length-Calculator

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...