C3D-CMDS · List registered tag/renumber commands error
Read-only: enumerates the commands actually registered in this Civil 3D instance and filters for RENUM / TAG / table-related names, to find the real renumber command instead of guessing.
C# payload
// READ-ONLY: list the commands REGISTERED IN THIS CIVIL 3D INSTANCE that relate to tags /
// renumbering / tables, so the real command name is read out of the product rather than guessed.
var hits = new List<string>();
var seen = new List<string>();
foreach (var grp in Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.GetLoadedModules())
{
// nothing to enumerate here directly; commands come from the command table below
}
// The command table: every globally-registered command name.
var ct = Autodesk.AutoCAD.Internal.Utils.GetCommandNames(true, true, true, false);
Log("total registered commands: " + ct.Count);
foreach (string c in ct)
{
var u = c.ToUpper();
if (u.Contains("RENUM") || u.Contains("TAG") || (u.Contains("TABLE") && u.StartsWith("AECC")))
hits.Add(c);
}
hits.Sort();
Log("=== commands matching RENUM / TAG / AECC*TABLE (" + hits.Count + ") ===");
foreach (var c in hits) Log(" " + c);
Result
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.