# How Do I List Attrbuites For A Node?

**URL:** https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309
**Category:** Maya
**Tags:** mel
**Created:** [February 9, 2006, 3:03am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309 "2006-02-09T03:03:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![projectironwill](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@projectironwill](https://forum.highend3d.com/u/projectironwill)
#### Post date: [February 9, 2006, 3:03am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309/1 "2006-02-09T03:03:11Z")

</div>

I find myself going to the Custom Polygon Display Options, checking on Border Edges, and checking Texture Borders off, then back again when working with models. I've made a toggle script for showing triangles, double sides, and so on, but I want to do it for Texture Bordersand Border Edges. But I don't know the attribute for Texture Borders, and can't find a listing of them in the Help Files. Is there a command to list the attributes for the selected item in the script editor and their types such as float, int, boolean?

EXAMPLE:  
Border Edges: setAttr "pCubeShape1.displayBorders" 0;

Thanks!

---

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [February 9, 2006, 9:51am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309/2 "2006-02-09T09:51:05Z")

</div>

Hi!  
I don't know about an attribute for this, but if you want the border edges toggled use

[b]ToggleBorderEdges;

[/b]or[b]

polyOptions -r -db true;

[/b]polyOptions seems to hold more of those options.

---

<div class="post-metadata">

### Author: ![projectironwill](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@projectironwill](https://forum.highend3d.com/u/projectironwill)
#### Post date: [February 10, 2006, 2:53am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309/3 "2006-02-10T02:53:26Z")

</div>

I found the polyOptions command in the preferences right before I came to the board, but notice this only works for new objects only. ![](http://www.highend3d.com/boards/style_emoticons/<#EMO_DIR#>/sad.gif) So a few older created items (and even duplicates of old) won't be affected by the toggle. But, it's better than nothing! Thank You!

//Texture Borders  
polyOptions -np -dmb true;  
polyOptions -np -dmb false;  
//Border Edges  
polyOptions -np -db true;  
polyOptions -np -db false;  
//Crease Edges  
polyOptions -np -dce false;  
//Edge Width  
polyOptions -np -sb 3;  
//Non-planar  
polyOptions -np -dw true;

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [February 10, 2006, 9:24am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309/4 "2006-02-10T09:24:33Z")

</div>

it affects whats selected. alternatively you vccan call for example

polyOptions -np -dmb true objectName;

and it should sort itself to taht object.

---

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [February 10, 2006, 9:35am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309/5 "2006-02-10T09:35:49Z")

</div>

whut?!?!

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [February 10, 2006, 10:09am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309/6 "2006-02-10T10:09:52Z")

</div>

He hasnt got anything selected... the symptom is ovius since it affacts a newly created object, and offcourse all newly created ones are selected by default.

Atleast thats what i read form between the lines and in the lines ![](http://www.highend3d.com/boards/style_emoticons/<#EMO_DIR#>/wink.gif)

---

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [February 10, 2006, 10:23am UTC](https://forum.highend3d.com/t/how-do-i-list-attrbuites-for-a-node/3309/7 "2006-02-10T10:23:06Z")

</div>

ah ok that whould explain .. even if not obvious :] but..

"(and even duplicates of old)" if you dup an object its also selected? So what does he do?  
create an object - keep selection - try polyOptions - works  
duplicate an object - deselect - try polyOptions - doesn't work ??!
