Table of Contents

Method ForKeyword

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ForKeyword(string, IReadOnlyList<string>, string)

Asks for one of a list of keywords: "Erase source objects? [Yes/No] <No>:".

public static CadPrompt ForKeyword(string message, IReadOnlyList<string> keywords, string defaultValue = null)

Parameters

message string

The message.

keywords IReadOnlyList<string>

The keywords.

defaultValue string

The default Enter takes; null for none.

Returns

CadPrompt

The prompt.