Solid Edge Determining CommandIds for Solid Edge commands

2022-08-08T08:36:40Z
PART/SHEETMETAL

Summary


Details

A CommandId is an internal id number that is assigned to every Solid Edge command. Programmatically Solid Edge is written to refer to these internal CommandIds not the user facing command names.

When investigating crashlogs or developing custom applications it may be useful to know the CommandId that matches the user facing command name e.g. from this example crashlog:


As there is no published list of Command to CommandId how can we determine a command's internal CommandId value?

Solution

To see the internal id number, or CommandId, for each command in the user interface, you can enable the following registry key which will then display the command id number as part of the tooltip:

HKEY_CURRENT_USER\SOFTWARE\Siemens\Solid Edge\Version 222\ToolbarSettings\TooltipCmdID -> DWORD value = 1


After enabling the tooltip, we can then see each command’s internal CommandId number in the tooltip when hovering over the command. In the below screenshot we can see that the Line command has the internal CommandId number ‘25010’:


KB Article ID# PL8665013

Contents

SummaryDetails

Associated Components

PART/SHEETMETAL: FEATURES