Grasshopper API
GH_ComponentServerSetAlias Method |
Sets the aliases for a given target.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public void SetAlias( string alias, Guid target )
Public Sub SetAlias ( alias As String, target As Guid )
Parameters
- alias
- Type: SystemString
Alias to add. If the alias string contains spaces or commas, those will be used to harvest partial aliases. Use a zero-length alias to remove all aliases to the target. - target
- Type: SystemGuid
Component ID of object that is targeted by the alias.
