TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mohan on June 19, 2015, 02:14:36 PM
-
As i explain in the cad file inside to save time by some lisp routines
thanks
-
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...
-
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
-
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''
-
dear sir
for u r reference Align text program by LEE MAC SIR
http://lee-mac.com/dtcurve.html (http://lee-mac.com/dtcurve.html)