#include <assetTagsManifest_ScriptBinding.h>
Inherits SimObject.
|  | 
| void | createTag (tagName) | 
|  | 
| Boolean | deleteTag (tagName) | 
|  | 
| String | getAssetTag (assetId, int tagIndex) | 
|  | 
| Integer | getAssetTagCount (assetId) | 
|  | 
| String | getTag (int tagIndex) | 
|  | 
| Integer | getTagCount () | 
|  | 
| Boolean | hasTag (assetId, tagName) | 
|  | 
| Boolean | isTag (tagName) | 
|  | 
| Boolean | renameTag (oldTagName, newTagName) | 
|  | 
| Boolean | tag (assetId, tagName) | 
|  | 
| Boolean | untag (assetId, tagName) | 
|  | 
| void | assignFieldsFrom (SimObject) | 
|  | 
| Integer | clone ([copyDynamicFields=false]?) | 
|  | 
| void | delete () | 
|  | 
| Integer | getId () | 
|  | 
| void | setName (newName) | 
|  | 
| String | getName () | 
|  | 
| String | getClassNamespace () | 
|  | 
| String | getSuperClassNamespace () | 
|  | 
| void | setClassNamespace (nameSpace) | 
|  | 
| void | setSuperClassNamespace () | 
|  | 
| Boolean | isMethod (string methodName) | 
|  | 
| String | call (methodName, [args] *) | 
|  | 
| void | dumpClassHierarchy () | 
|  | 
| void | dump () | 
|  | 
| Boolean | isMemberOfClass (string classname) | 
|  | 
| String | getClassName () | 
|  | 
| String | getFieldValue (fieldName) | 
|  | 
| Boolean | setFieldValue (fieldName, value) | 
|  | 
| Boolean | setEditFieldValue (fieldName, value) | 
|  | 
| Integer | getDynamicFieldCount () | 
|  | 
| String | getDynamicField (index) | 
|  | 
| Integer | getFieldCount () | 
|  | 
| String | getField (int index) | 
|  | 
| void | setProgenitorFile (file) | 
|  | 
| String | getProgenitorFile () | 
|  | 
| Integer | getType () | 
|  | 
| String | getFieldType (fieldName) | 
|  | 
| void | setInternalName (string InternalName) | 
|  | 
| String | getInternalName () | 
|  | 
| Boolean | isChildOfGroup (groupID) | 
|  | 
| Integer | getGroup () | 
|  | 
| Boolean | startTimer (callbackFunction, float timePeriod, [repeat]?) | 
|  | 
| void | stopTimer () | 
|  | 
| Boolean | isTimerActive () | 
|  | 
| Integer | schedule (time, command, [arg] *) | 
|  | 
| void | startListening (SimObject) | 
|  | 
| void | stopListening (SimObject) | 
|  | 
| void | addListener (SimObject) | 
|  | 
| void | removeListener (SimObject) | 
|  | 
| void | removeAllListeners () | 
|  | 
| void | postEvent (String eventName, String data) | 
|  | 
| Boolean | save (fileName, [selectedOnly]?) | 
|  | 
| void | addFieldFilter (fieldName) | 
|  | 
| void | removeFieldFilter (fieldName) | 
|  | 
◆ createTag()
      
        
          | void createTag | ( | tagName |  | ) |  | 
      
 
Creates an asset tag. 
- Parameters
- 
  
    | tagName | The tag name to create. |  
 
- Returns
- No return value. 
 
 
◆ deleteTag()
Deletes an asset tag. 
- Parameters
- 
  
    | tagName | The tag name to delete. |  
 
- Returns
- Whether the asset tag was deleted or not. 
 
 
◆ getAssetTag()
      
        
          | String getAssetTag | ( | assetId | , | 
        
          |  |  | int | tagIndex | 
        
          |  | ) |  |  | 
      
 
Gets the asset tag on the specified asset Id at the specified index. 
- Parameters
- 
  
    | assetId | The asset Id to count tags on. |  | tagIndex | The asset tag index. This must be 0 to the asset tag count less one. |  
 
- Returns
- The asset tag on the specified asset Id at the specified index or NULL if invalid. 
 
 
◆ getAssetTagCount()
      
        
          | Integer getAssetTagCount | ( | assetId |  | ) |  | 
      
 
Gets the asset tag count on the specified asset Id. 
- Parameters
- 
  
    | assetId | The asset Id to count tags on. |  
 
- Returns
- The asset tag count on the specified asset Id. 
 
 
◆ getTag()
Gets the asset tag at the specified index. 
- Parameters
- 
  
    | tagIndex | The asset tag index. This must be 0 to the asset tag count less one. |  
 
- Returns
- The asset tag at the specified index or NULL if invalid. 
 
 
◆ getTagCount()
Gets the total asset tag count. 
- Returns
- The total asset tag count. 
 
 
◆ hasTag()
      
        
          | Boolean hasTag | ( | assetId | , | 
        
          |  |  | tagName |  | 
        
          |  | ) |  |  | 
      
 
Checks whether the asset Id is tagged with the specified asset tag. 
- Parameters
- 
  
    | assetId | The asset Id to check. |  | tagName | The tag name to check. |  
 
- Returns
- Whether the asset Id is tagged with the specified asset tag or not. 
 
 
◆ isTag()
Checks whether the specified asset tag exists or not. 
- Parameters
- 
  
    | tagName | The tag name to check. |  
 
- Returns
- Whether the specified asset tag exists or not. 
 
 
◆ renameTag()
      
        
          | Boolean renameTag | ( | oldTagName | , | 
        
          |  |  | newTagName |  | 
        
          |  | ) |  |  | 
      
 
Renames an existing asset tag. 
- Parameters
- 
  
    | tagName | The tag name to rename. |  | newTagName | The new tag name to assign. |  
 
- Returns
- Whether the asset tag was renamed or not. 
 
 
◆ tag()
Tags the asset Id with the specified asset tag. 
- Parameters
- 
  
    | assetId | The asset Id to tag. |  | tagName | The tag name to assign. |  
 
- Returns
- Whether the tag operation was successful or not. 
 
 
◆ untag()
      
        
          | Boolean untag | ( | assetId | , | 
        
          |  |  | tagName |  | 
        
          |  | ) |  |  | 
      
 
Un-tags the asset Id from the specified asset tag. 
- Parameters
- 
  
    | assetId | The asset Id to un-tag. |  | tagName | The tag name to un-assign. |  
 
- Returns
- Whether the un-tag operation was successful or not.