Bricscad 25 no longer supports dots in command names?

In C# development for Bricscad 22, in the company we used command names with dots, as in: "NM.Version", "NM.Database.Tables" and so on, as in:
[CommandMethod("NM.Version", CommandFlags.UsePickSet)]
public static void Dev_Test3_Command()

We are changing to Bricscad 25, and we have an issue that the commands are visible in the command line, but the result is only an error message:
Unable to recognize command "NM.Version"

It appears that Bricscad 25 no longer supports dots in command names.
Is there a workaround around this? If not, we will have to undertake a major system update. :(

Comments

  • Does not work in AutoCAD either

    from pyrx import Rx, Ge, Gi, Db, Ap, Ed, Ax, command
    
    
    @command
    def doit():
        print(Db.SymUtilServices().validateCompatibleSymbolName("woohoo", True, False, False))
        print(Db.SymUtilServices().validateCompatibleSymbolName("woo.hoo", True, False, False))
        print(Db.SymUtilServices().repairPreExtendedSymbolName("woo.hoo", False))
    
    Command: DOIT
    eOk
    eInvalidInput
    WOO_HOO

    • SOLVED

      Sorry for posting this before I explored all the options. I tried registering the command using groupName and globalName, didn't expect that localizedNameId will do something. So here is the solution to this problem:
      [CommandMethod(groupName: "NM", globalName: "MagicTruss", localizedNameId: "NM.MagicTruss", CommandFlags.UsePickSet, helpTopic: "wiki.nm.de/CAD/NM.MagicTruss")]
      public static void JigTrussConstruction_Command()


      This works.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.