Sets local aliases for the specified visual object based on the specified command data.
Namespace: Ico.GwxAssembly: GwxRuntimeCore (in GwxRuntimeCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public bool SetAliasValues(
string visualObjectName,
AliasCommandType commandType,
string commandData
) |
Visual Basic |
---|
Public Function SetAliasValues ( _
visualObjectName As String, _
commandType As AliasCommandType, _
commandData As String _
) As Boolean |
JScript |
---|
public function SetAliasValues(
visualObjectName : String,
commandType : AliasCommandType,
commandData : String
) : boolean |
Parameters
- visualObjectName
- Type: System..::..String
The Name of a 2D or 3D visual object.
If no name is specified, this method will set local aliases for the entire display.
If no visual object is found with the specified name, this method does nothing.
- commandType
- Type: Ico.Gwx..::..AliasCommandType
The type of set local aliases command to be performed.
- commandData
- Type: System..::..String
The data for the command.
This value is either the name of a CSV file, or a text string in CSV format.
The CSV data should be alias-name/alias-value pairs.
Return Value
False if no visual object is found with the specified name, otherwise returns true.
See Also