How to select/highlight an attribute in the channelBox?

How to select/highlight an attribute in the channelBox?

mcw0
Advisor Advisor
1,208 Views
3 Replies
Message 1 of 4

How to select/highlight an attribute in the channelBox?

mcw0
Advisor
Advisor

According to the docs, the "select" option should do the trick.  But I'm having no luck.

 

channelBox -e -s "tx" mainChannelBox;

That will clear any current selection but doesn't make the new selection.  It doesn't error or complain.  Just nothing.  Anyone know how to highlight attributes in the channelBox via command?

0 Likes
Accepted solutions (2)
1,209 Views
3 Replies
Replies (3)
Message 2 of 4

mcw0
Advisor
Advisor
Accepted solution

UGH!!!  Because "channelBox -q -sma mainChannelBox" returns the nice name of attributes, I thought I didn't need to specify the actual node name.  But this works:

 

channelBox -e -s "locator1.tx" mainChannelBox;

 

 

0 Likes
Message 3 of 4

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

@mcw0 

There is an error in your first script, you missed the dot before the attribute.

When the objects is selected the following works:

channelBox -e -s ".tx" mainChannelBox;

 

Message 4 of 4

mcw0
Advisor
Advisor

mspeer, thank you for that info.  I would never have thought to add the ".".

0 Likes