static void Set( MapNode node )

robot_2Generated
code_blocksInput

Description

The Set method is a static method of the Editor.MapEditor.Selection class. It is used to set the current selection to a specific MapNode. This method effectively replaces the current selection with the provided node, clearing any previous selections.

Usage

To use the Set method, you need to pass an instance of Editor.MapDoc.MapNode as a parameter. This method is static, so it should be called on the Selection class itself.

Example

// Example of using the Set method
Editor.MapDoc.MapNode node = new Editor.MapDoc.MapNode();
Editor.MapEditor.Selection.Set(node);