Node.data
From Nemesis
(Difference between revisions)
| (One intermediate revision by one user not shown) | |||
| Line 4: | Line 4: | ||
node.data(id) | node.data(id) | ||
| − | + | where | |
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" | {| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" | ||
|- bgcolor="#CCCCCC" align="center" | |- bgcolor="#CCCCCC" align="center" | ||
| Line 24: | Line 24: | ||
=See also= | =See also= | ||
| − | |||
*[[node]] module. | *[[node]] module. | ||
| + | *[[User guide]]. | ||
[[Category:User guide]] | [[Category:User guide]] | ||
Latest revision as of 22:11, 24 January 2007
The following article describes the use of the node.data command. This command is used to obtain nodal data. It returns a python dictionary containing all relevant data.
Contents |
[edit] Syntax
node.data(id)
where
| Parameter | description | type | default |
|---|---|---|---|
| id | The nodal id | integer | - |
[edit] Examples
Get a dictionary containing nodal data.
node.data(7)
[edit] Comments
Dofs here (due to python dictionaries) are assumed to start from 0.
[edit] See also
- node module.
- User guide.