Advertisement
loon4tic

nvm

Aug 1st, 2022
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. string $sel[] = `ls -sl`;
  2. int $vtxCount[];
  3. int $k = 0;
  4. string $meshes[] = `ls -type "mesh"`;
  5. for($obj in $meshes) {
  6. //print $obj;
  7. int $vtxInfo[] = `polyEvaluate -vertex $obj`;
  8. //print $vtxInfo;
  9. int $vtxAmt = size($vtxInfo);
  10. print $vtxAmt;
  11. $vtxCount[$k] = $vtxAmt;
  12. $k++;
  13. }
  14.  
  15. int $vtxSize = size($vtxCount);
  16. print $vtxSize;
  17. for ($i=0;$i<$vtxSize;$i++) {
  18. //print $i;
  19. print "b";
  20. // select -r $i;
  21. // polyColorPerVertex -q -a;
  22.  
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement