# UNDEFINE Command [GstarCAD 2016](../../Index.md) → [Commands](../%28Commands%29.md) → [U](%28U%29.md) The UNDEFINE command is used to allow the command defined by application program to replace the internal command. ## Command Access: > **Command:** UNDEFINE ## Command Prompts: > Enter command name: ## Function Description: Users could forbid a command by inputting the command name under the UNDEFINE command prompt. The forbidden command could be redefined to execute other functions. ## Other versions with matching text [GstarCAD 2017](../../../2017/Commands/U/UNDEFINE%20Command.md) · [GstarCAD 2018](../../../2018/Commands/U/UNDEFINE%20Command.md) · [GstarCAD 2019](../../../2019/Commands/U/UNDEFINE%20Command.md) · [GstarCAD 2020](../../../2020/Commands/U/UNDEFINE%20Command.md) · [GstarCAD 2021](../../../2021/Commands/U/UNDEFINE%20Command.md)