Author Topic: Text Over-Lapping  (Read 1926 times)

0 Members and 1 Guest are viewing this topic.

mohan

  • Newt
  • Posts: 98
Text Over-Lapping
« on: June 19, 2015, 02:14:36 PM »
As i explain in the cad file inside to save time by some lisp routines

thanks
"Save Energy"

ribarm

  • Gator
  • Posts: 3265
  • Marko Ribar, architect
Re: Text Over-Lapping
« Reply #1 on: June 19, 2015, 03:04:29 PM »
Welcome to theswamp... Unfortunately we also don't have time for this after brief examining of posted DWG. I am not telling that it's not doable, but there are much issues to be checked if the code is to be written (text orientation, overlapping, extraction of data from attribute of block and result would be maybe not exact as it should as if you're to be doing it like you've started - manually)... If you have that number of blocks than coding isn't the best choice... If you have n * 1000 those blocks coding is the best, but you have to consider those stated issues...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

ur_naz

  • Newt
  • Posts: 68
  • Made in Ukraine
Re: Text Over-Lapping
« Reply #2 on: June 19, 2015, 04:19:05 PM »
i am too lazy to write code, but in few words:
select polylines
select blocks for each polyline
for each block
 - get attachment point
 - get first deriv
 - get attribute value
 - generate random number (155.34 --> 155.338)
 - create text

mohan

  • Newt
  • Posts: 98
Re: Text Over-Lapping
« Reply #3 on: July 05, 2015, 05:28:05 AM »
Many thanks to ribarm & ur_naz for replied to my thread

Need help :|,
Atleast please write a small lisp routine that will Rotate the selected text Perpendicular to the nearest polyline as shown in the image

thanks
mohan

''Sorry for my english''
"Save Energy"

Sam

  • Bull Frog
  • Posts: 201
Re: Text Over-Lapping
« Reply #4 on: July 06, 2015, 01:52:34 AM »
dear sir
for u r reference Align text program by LEE MAC SIR

http://lee-mac.com/dtcurve.html
Every time we waste electricity, we put our planet's future in the dark. Let's turn around our attiude and start saving power and our planet, before it's too late
http://www.theswamp.org/donate.html