Go to: Synopsis. Return value. Flags. MEL examples.
hilite [-replace] [-toggle] [-unHilite]
[objects]
hilite is undoable, NOT queryable, and NOT editable.
Hilites/Unhilites the specified object(s). Hiliting an object makes it possible to select the components of the object. If no objects are specified then the selection list is used.
None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-replace(-r)
|
|
![]() |
||
|
||||
-toggle(-tgl)
|
|
![]() |
||
|
||||
-unHilite(-u)
|
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Create a few objects. // string $sphere[] = `sphere`; move -relative 0 0 3; string $cone[] = `cone`; move -relative 0 0 -3; string $cylinder[] = `cylinder`; // Select the sphere. // select -replace $sphere; // Add the cone and cylinder to the hilite list. // hilite $cone[0] $cylinder[0]; // Toggle the hilite state of the cylinder. // hilite -toggle $cylinder[0]; // Replace the hilite list with the current selected objects. // hilite -replace;