| Article | 70002870 |
| Type | Wish |
| Product | Engine |
| Date Added | 4/4/2026 12:00:00 AM |
| Fixed | 12.0.02 (4/4/2026 12:00:00 AM) |
| Submitted by | VectorDraw Team |
Summary
vdCommandLine MergeCommands to merge new commands into existing ones
Solution
In version 12.0.2 new methods was added in vdCommandLine control
bool MergeCommands(string path, string filename)
bool MergeCommands(System.IO.StreamReader file)
Merge commands from an existing file path or System.IO.StreamReader stream with the already loaded commands.
If a command with the same name exist in both, the existing one will be used.
example
merge the commands in CustomObjects_Commands.txt file existing the application path with the already loaded commands.
vdFramedControl1.CommandLine.MergeCommands("", "CustomObjects_Commands.txt");
