Message 1 of 5
Quick label/counter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
This is my first lisp script and I am trying to create the following :
1. pick polyline with mouse.
2. Pick polylines or blocks that intersect with the first polyline.
3. sort their order according to the direction that the first pline was drawn along.
4 number and remember last number to perform again.
I am getting tons of errors and have seen many sourced. sometimes i copy paste some scripts which reportedly worked fine don't work fine for me for some reason
here is my script:
(setq ss (ssget "F" (entsel "please pick pline")))
(setq count 0)
(princ length ss)
(foreach x ss
(setq count + count 1)
(setq mypt (gcen x))
(command text mypt 4 0 count)
(setq count count+1)
);foreach