Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

AxisSet getAxis: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Cg van (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
{{HelpFiles}}



====AxisSet_getAxis====
==== AxisSet_getAxis ====


Gets the axis by name from the axis-set belonging to the current DCS context. The axis object is returned as an array formated according to the description given for the axis object constructor function (see [[_Axis_new_|Axis_new]] for more information)
Gets the axis by name from the axis-set belonging to the current DCS context. The axis object is returned as an array formated according to the description given for the axis object constructor function (see [[Axis new|Axis_new]] for more information)  


'''Syntax'''
'''Syntax'''  


AxisSet_getAxis(''name'')
AxisSet_getAxis(''name'')  


'''Arguments'''
'''Arguments'''  


''name'': Is a string expression, it is name of the axis to look up.
''name'': Is a string expression, it is name of the axis to look up.  


'''Return type'''
'''Return type'''  


array
array  


'''Examples'''
'''Examples'''  


''array axis = AxisSet_getAxis("Age Groups");''
''array axis = AxisSet_getAxis("Sex");''


'''Availability'''
''print(axis);''


Version 5.5
''//Gets the axis by name from the axis-set belonging to the current DCS context (e.g : {0,Sex,Hvad er dit køn?,Sex,Sex != empty,False,{{1,Mand,Sex == [1],},{1,Kvinde,Sex == [2],}},} )''
__NOTOC__
 
<!-- imported from file: 5233.htm-->
'''Availability'''
 
Version 5.5 __NOTOC__ <!-- imported from file: 5233.htm-->  
 
[[Category:Axis_set_modifying_CGScript_functions]]

Latest revision as of 09:32, 23 December 2011



AxisSet_getAxis

Gets the axis by name from the axis-set belonging to the current DCS context. The axis object is returned as an array formated according to the description given for the axis object constructor function (see Axis_new for more information)

Syntax

AxisSet_getAxis(name)

Arguments

name: Is a string expression, it is name of the axis to look up.

Return type

array

Examples

array axis = AxisSet_getAxis("Sex");

print(axis);

//Gets the axis by name from the axis-set belonging to the current DCS context (e.g : {0,Sex,Hvad er dit køn?,Sex,Sex != empty,False,{{1,Mand,Sex == [1],},{1,Kvinde,Sex == [2],}},} )

Availability

Version 5.5