How Do I List Attrbuites For A Node?

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!

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.

I found the polyOptions command in the preferences right before I came to the board, but notice this only works for new objects only. 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;

it affects whats selected. alternatively you vccan call for example

polyOptions -np -dmb true objectName;

and it should sort itself to taht object.

whut?!?!

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

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 ??!