Difference between revisions of "Api.groups"

From Light Forge Wiki
Jump to: navigation, search
(getAttribute)
Line 5: Line 5:
  
 
'''getAttribute(attribute As api.attributeTypes, groupPath As String) As Integer'''
 
'''getAttribute(attribute As api.attributeTypes, groupPath As String) As Integer'''
 
  
 
Returns the value for a specified attribute on a specified group
 
Returns the value for a specified attribute on a specified group
 
 
Returns -1 if the group can't be found
 
Returns -1 if the group can't be found
  
==getName==
 
    Returns the name of the requested group
 
 
    Function getName(ByVal groupPath As String) As String
 
  
 
==getChildCount==
 
==getChildCount==
    Returns the number of children in a group
+
'''getChildCount(groupPath As String) As Integer'''
  
     Function getChildCount(ByVal groupPath As String) As Integer
+
Returns the number of children in a group
 +
Returns -1 if the group can't be found
 +
      
  
 +
==getName==
 +
'''getName(groupPath As String) As String'''
 +
 +
Returns the name of the requested group
 +
Returns -1 if the group can't be found
  
  
 
==setAttribute==
 
==setAttribute==
    'sets the value of an attribute on a specified group
+
'''setAttribute(attribute As api.attributeTypes, value As Integer, groupPath As String)'''
    Sub setAttribute(ByVal attribute As scriptingAPI.attributeTypes, ByVal value As Integer, ByVal groupPath As String)
+
 
 +
Sets the value of an attribute on a specified group.
 +
   
  
 
==releaseAttribute==
 
==releaseAttribute==
    'release the specified attribute on a group
+
'''releaseAttribute(attribute As api.attributeTypes, groupPath As String)'''
    Public Sub releaseAttribute(ByVal attribute As scriptingAPI.attributeTypes, ByVal groupPath As String)
+
 
 +
Releases the specified attribute on the specified group.
  
 
==releaseGroup==
 
==releaseGroup==
    'release the all attributes on a group
+
'''releaseGroup(attribute As api.attributeTypes, groupPath As String)'''
    Public Sub releaseGroup(ByVal attribute As scriptingAPI.attributeTypes, ByVal groupPath As String)
+
 
 +
Releases the all attributes on the specified group.

Revision as of 18:39, 6 May 2013

Contents

Methods

getAttribute

getAttribute(attribute As api.attributeTypes, groupPath As String) As Integer

Returns the value for a specified attribute on a specified group Returns -1 if the group can't be found


getChildCount

getChildCount(groupPath As String) As Integer

Returns the number of children in a group Returns -1 if the group can't be found


getName

getName(groupPath As String) As String

Returns the name of the requested group Returns -1 if the group can't be found


setAttribute

setAttribute(attribute As api.attributeTypes, value As Integer, groupPath As String)

Sets the value of an attribute on a specified group.


releaseAttribute

releaseAttribute(attribute As api.attributeTypes, groupPath As String)

Releases the specified attribute on the specified group.

releaseGroup

releaseGroup(attribute As api.attributeTypes, groupPath As String)

Releases the all attributes on the specified group.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox