Click or drag to resize

GH_ComponentServerSetAlias Method

Sets the aliases for a given target.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void SetAlias(
	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. 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.
See Also