DavidGraham Posted October 1, 2018 Posted October 1, 2018 I'm picking three line entities and then drawing something. I'm using a single selection set multiple times. (setq s (ssget "_+.:S:E" '((0 . "LINE")))) If I were to use a normal selection set the picked lines are redrawn as dashed so you can see your progress. With multiple single selections apart from the prompts the user will forget how many lines they have picked. Is there a simple way to recreate the highlighting of the entities as they are picked then at the end to remove all the highlights? Quote
rlx Posted October 1, 2018 Posted October 1, 2018 Signature (redraw [ename [mode]]) ename Type: ads_name The name of the entity name to be redrawn. mode Type: Integer Value that controls the visibility and highlighting of the entity. The mode can be one of the following values: 1 -- Show entity 2 -- Hide entity (blank it out) 3 -- Highlight entity 4 -- Unhighlight entity The use of entity highlighting (mode 3) must be balanced with entity unhighlighting (mode 4). Quote
dlanorh Posted October 1, 2018 Posted October 1, 2018 25 minutes ago, DavidGraham said: I'm picking three line entities and then drawing something. I'm using a single selection set multiple times. (setq s (ssget "_+.:S:E" '((0 . "LINE")))) If I were to use a normal selection set the picked lines are redrawn as dashed so you can see your progress. With multiple single selections apart from the prompts the user will forget how many lines they have picked. Is there a simple way to recreate the highlighting of the entities as they are picked then at the end to remove all the highlights? (redraw (ssname ss 0) 3) Quote
DavidGraham Posted October 1, 2018 Author Posted October 1, 2018 Thank you, that's just what I wanted. Quote
Recommended Posts
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.