This page lists all built-in edge methods that can be accessed by edge aliases using the dot (.
) operator.
getAttr()
e.getAttr( attrName, atterType )
Returns the value of an attribute of the edge.
The data type of the attribute itself.
If we have the following edge:
Assume the alias of the edge is e
:
isDirected()
e.isDirected()
Returns a boolean value indicating whether the edge is directed or undirected.
BOOL
None.
setAttr()
e.setAttr( attrName, attrNewValue)
Sets an attribute of an edge to a new value.
No return value.
Parameter
Description
Data type
attrName
The name of the attribute.
STRING
attrType
The type of the attribute
STRING
Parameter
Description
Data type
attrName
The name of the attribute
STRING
attrNewValue
The new value of the attribute
The type of the attribute