Toggle navigation
Polycount
News
Forums
Patreon
Challenges
Quarterly Character Art Challenge
Bi-Monthly Environment Art Challenge
Wiki
Moar
Recent
Activity
Badges
Drafts
Store
Sign In
·
Register
Author:
Rav4
Home
›
Search
Topic
Mel Script: Looking for a command if something is selected or not
Author
Date within
1 day
3 days
1 week
2 weeks
1 month
2 months
6 months
1 year
of
Examples: Monday, today, last week, Mar 26, 3/26/04
Search
Search
Re: Mel Script: Looking for a command if something is selected or not
Reply by
Tekoppar
·
Oct 2019
·
Home
›
Coding, Scripting, Shaders
//checks if object is selected<br>string $selt[] = `ls`;<br>for ($node in $selt) {<br> if (size(`ls -sl $node`)) {<br> //node is seleted<br> print($node + "\n"); <br> }<br>}
Re: Mel Script: Looking for a command if something is selected or not
Reply by
Tekoppar
·
Oct 2019
·
Home
›
Coding, Scripting, Shaders
Ah I misread your question, I thought you wanted to check if a specific node was selected or not.
2 results