csv.mnu â” menu macros and âoeRun Programâ wiring¶
This page records what can be learned from the legacy AutoCAD menu source csv.mnu.
Note
This is a legacy menu definition. Menu macros often act as the âoereal entry pointâ by invoking commands, loading LSP, and/or calling into compiled modules.
WhatâTMs in csv.mnu at a glance¶
Menu file contains
***POP1(expected bycsvmenu.lspwhich attachesCSV.POP1to the menu bar).POP1contains 7 recognizable menu item lines (best-effort parse).
âoeRun Programâ menu item¶
Found in the parsed POP1 labels.
Label:
ID_CSVRUN [&Run Program]Macro:
^C^C(setvar "menuecho" 1);(if(not(type c:csv))(if(<(distof(getvar "acadver"))15)(arxload "csv.arx")(load "csv.vlx")));^C^Ccsv;
Warning
If âoeRun Programâ is not detected above, it may still exist but use a different label spelling or live in a different ***POP section. The parser here is tolerant but not a full AutoCAD menu grammar.
Other interesting menu macros (best-effort)¶
The following items contain load, ARX/VLX hints, or other signals that they may invoke the program:
ID_CSVRUN [&Run Program]â-’^C^C(setvar "menuecho" 1);(if(not(type c:csv))(if(<(distof(getvar "acadver"))15)(arxload "csv.arx")(load "csv.vlx")));^C^Ccsv;ID_CSVUNLOAD [&Unload Program]â-’^C^C(setvar "menuecho" 1);(if(member "csv.arx" (arx))(progn(arxunload "csv")))(if(member "pcms.arx" (arx))(progn(arxunload "pcms")))(if(member "pcms2.arx" (arx))(progn(arxunload "pcms2")));ID_CSVIMPORT [&Import Data]â-’^C^C(setvar "menuecho" 1);(if(not(type c:csv))(if(<(distof(getvar "acadver"))15)(arxload "csv.arx")(load "csv.vlx")));(makepan);ID_CSVHELP [&Help]â-’^C^C(setvar "menuecho" 1);(help "csv.hlp" "Table_of_Contents");ID_CSVABOUT [&About CSV]â-’^C^C(setvar "menuecho" 1);(help "csv.hlp" "About_CSV");