Jump to content

Recommended Posts

Posted

The best example I can think of is Matchproperties. When you start match properties you will see the prompt Select source object. Once you've done so the source object is highlighted/dotted while you are asked to select destination object(s). I was wondering how to get the souce object to highlight?

Posted

Have you looked into the redraw function...?

 

Sample:

;; To highlight an entity
(redraw [color=red]eName[/color] 3)

;; To unhighlight an entity
(redraw [color=red]eName[/color] 4)

 

 

[edit]

Added unhighlight

[/edit]

Posted

For VLA-Object:

(vla-highlight obj :vlax-true)

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.

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