# Selection Impossible After Setparticleattr Command

**URL:** https://forum.highend3d.com/t/selection-impossible-after-setparticleattr-command/2536
**Category:** Maya
**Tags:** mel
**Created:** [January 15, 2007, 2:51pm UTC](https://forum.highend3d.com/t/selection-impossible-after-setparticleattr-command/2536 "2007-01-15T14:51:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hansesurfer](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/h/dfb087/32.png) [@hansesurfer](https://forum.highend3d.com/u/hansesurfer)
#### Post date: [January 15, 2007, 2:51pm UTC](https://forum.highend3d.com/t/selection-impossible-after-setparticleattr-command/2536/1 "2007-01-15T14:51:18Z")

</div>

When I move particles with the setParticleAttr command its not possible to select the translated particles afterwards again.

here`s the code:

CODE  
particle -jbp 0 0 0 -nj 2 -jr 1 -c 1;  
setAttr particleShape1.particleRenderType 4;  
select -r particle1.pt[0:1];  
setParticleAttr -at position -vv 5 5 5;  
select -cl ;

any idea???

thanks!

---

<div class="post-metadata">

### Author: ![nazz78](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/94ad74/32.png) [@nazz78](https://forum.highend3d.com/u/nazz78)
#### Post date: [January 20, 2007, 12:22am UTC](https://forum.highend3d.com/t/selection-impossible-after-setparticleattr-command/2536/2 "2007-01-20T00:22:26Z")

</div>

why are you clearing selection list at the end? the particle is already selected, just remove last line "select -cl;"
