Jump to content

Recommended Posts

Posted

I have blocks that represent energy poles and I need to insert measures in text format between them.
Is there a program that inserts the measurements by selecting several blocks at the same time?
I currently use a lisp where I need to select block by block.
Thanks for help!
(sorry for the writing, I'm using a translator)

dist.thumb.PNG.380e09d067828e92a0cdc8ef1cce5f18.PNG

tccpa.LSP

Posted
27 minutes ago, RerikaMS said:

I have blocks that represent energy poles and I need to insert measures in text format between them.
Is there a program that inserts the measurements by selecting several blocks at the same time?
I currently use a lisp where I need to select block by block.
Thanks for help!
(sorry for the writing, I'm using a translator)

dist.thumb.PNG.380e09d067828e92a0cdc8ef1cce5f18.PNG

tccpa.LSP 10.64 kB · 1 download

 

Welcome to CADTutor :D

 

There are several lisps in your file. A sample drawing, saved as in AutoCAD 2010 or earlier format would help.

 

1. What layer are the blocks on, are they simple blocks {block name(s)} , attributed or dynamic?

2. What layer should the text be on and what is the desired text style name?

3. Would all the blocks be on a single line, or are there branches?

4  Is it the shortest distance between blocks

Posted

@dlanorh

4. According to OP picture it's not the shortest distance (look at last triangle - the most right portion of picture)...

 

And that's why it has to be done manually as OP used to do it...

Sorry for the bitter comment, but that's the fact - there are no codes from me...

Posted
25 minutes ago, marko_ribar said:

@dlanorh

4. According to OP picture it's not the shortest distance (look at last triangle - the most right portion of picture)...

 

And that's why it has to be done manually as OP used to do it...

Sorry for the bitter comment, but that's the fact - there are no codes from me...

 

That's why I asked the question Marko 👍 The "blocks" also look like points, so maybe this is merely quickly construct idea of what is required.

Posted

Thank you, @dlanorh !

Yes, there are several lisps in this file, as it could change depending on the cable installation. This is to facilitate the sum of materials for the construction phase. However, it is not essential for the work I do at the moment.
Currently I only use the first one, TCCPA.
 

1. In this example the blocks are with attributes and dynamics (but, use of the three types).
2. The text can be in the layer and settings of the first lisp in the file (tccpa).
3. The blocks are distributed along the streets according to the location of the energy poles.
4. Yes is the linear distance between your axes. Lisp would help if you could insert, in a massive way, the linear distance between the base point of the blocks.

Attached a file with examples

Thanks!

EstudoLisps2.dwg

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