Polyline Description as Label or Attribute

Polyline Description as Label or Attribute

kush.panchal0711
Explorer Explorer
1,531 Views
4 Replies
Message 1 of 5

Polyline Description as Label or Attribute

kush.panchal0711
Explorer
Explorer

I want to give a description to Line or Polyline & it will also able to seen in properties tab, Like Label or Attribute.

But also I don't want create block & all polyline are in same layer.

0 Likes
1,532 Views
4 Replies
Replies (4)
Message 2 of 5

jrreid
Advocate
Advocate

Did some searching and found two from previous requests.

Both of the LSP files look the exact same so I am not sure if they both came up with the same lsp or what but I am putting both locations here that I found this.

 

I attached both files and made a change like the one link says for MiddleCenter.

But I cannot figure out how to put an offset from the end of the line.

Someone smarter I am sure can maybe help with that.

 

Posted:  05-05-2020

Layer Name LISP at End of Line or Polyline - Autodesk Community - AutoCAD

 

Posted:  03-12-2009

label line with layer name and place text - AutoLISP, Visual LISP & DCL - AutoCAD Forums (cadtutor.n...

 

I hope this helps.

 

JRR.

0 Likes
Message 3 of 5

pendean
Community Legend
Community Legend
>>....also I don't want create block ...<<<
Then you will need to use a different CAD program for that, sorry.
0 Likes
Message 4 of 5

jrreid
Advocate
Advocate

So sorry. Mr. Pendean remined me that you wanted Linetype vs Layer.

I changed the code to Linetype in these attached lsp files.

 

Hope this helps.

 

JRR.

0 Likes
Message 5 of 5

AVCPlugins
Advisor
Advisor

The easiest is to use A>V>C> Property Palette . You can save the descriptions of polylines in its xData and transfer this description when copying and any operations. Then you can extract the data using A>V>C> DataTable or make

SmartLeaderManyObjects.gif

.


Plugins for AutoCAD
A>V>C>
AppStore | Facebook | Twitter | YouTube | Blog
0 Likes