Changes between Version 1 and Version 2 of TorqueUsage/DataTypes/Atrrl
- Timestamp:
- 09/08/06 09:41:12 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TorqueUsage/DataTypes/Atrrl
v1 v2 3 3 = Attrl data type = 4 4 5 Attrl is a structure which is defined in '''pbs_ifl.h'' as: 5 6 {{{ 6 7 #!C … … 13 14 }; 14 15 }}} 16 17 == Python Usage == 18 19 If a function requires this data type then use the following code: 20 {{{ 21 #!python 22 23 # Values depend in which context we use it, eg for pbs_statnode() 24 # 25 attrl = pbs.new_attrl(2) 26 attrl[0].name = 'state' 27 attrl[1].name = 'np' 28 }}}