Jump to content

Field for counting polylines

Recommended Posts

Does anyone know of a field expression or lisp routine that will allow me to display a count of the number of polylines on any specified layer? I would like the number displayed to be able to update as I add polylines to the layer, just as an area field expression would update on regen.


Thanks very much

Link to comment
Share on other sites

Its easy to get number of pline using lisp and ssget then sslength is number of plines if a simple action maybe pick text then its just updated, as a field not sure, using a reactor possible but lot more code involved. Using filter and PLINE this will select if properties displayed then would give number manual text update.


Happy to provide ver 1. if you want auto sorry.

Link to comment
Share on other sites

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.

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