CATIA command can be invoked by typing "c:cmd_id" in PowerInput editbox, for example, by typing "c:CATShapeDesignLine", we can run LINE command.
moreover, when using CATAfrStartCommand() to run CATIA command in our CAA programs, only command id can be used as the parameter, e.g. CATAfrStartCommand("CATShapeDesignLine"....).
but it's found that many commands id change after running Customize dialog in 3DE R2019x platform, for example, the LINE command id changes from "CATShapeDesignLine" to "CATShapeDesignLineHdr".
the steps are as the follows:
1. start CATIA R2019x.
2. create a 3DPart or a 3DShape.
3. type c:CATShapeDesignLine in PowerInput, then press enter key. the LINE command panel shows normally.
4. open Customize dialog, then just close it.5. type c:CATShapeDesignLine in PowerInput box again. this time, we get the err msgbox of "unknown command".
6. type c:CATShapeDesignLineHdr in PowerInput box, the LINE command panel shows again.
in catia_inst_dir\win_b64\resources\msgcatalog\CATShapeDesignWorkbenchAlias.CATRsc, there's the line which looks like defining the alias of CATShapeDesignLine:
CATShapeDesignLine.Header = "CATShapeDesignLineHdr";
but it seems to have no effect no matter how I modified the alias.
the platform is 3DE R2019X.