Click or drag to resize

GH_ComponentServerAddAlias Method

Add an alias to a target.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void AddAlias(
	string alias,
	Guid target
)

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.
See Also