Grasshopper API
GH_ComponentServerAddAlias Method |
Add an alias to a target.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public void AddAlias( string alias, Guid target )
Public Sub AddAlias ( 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. - target
- Type: SystemGuid
Component ID of object that is targeted by the alias.
