lookiana.blogg.se

Adding commands on flashcard hero
Adding commands on flashcard hero












has a property CommandClass which represents the command category corresponding to the key-in command. must also have the property CommandWord, which is the word that the user can enter in the MicroStation Typing field. The commands in MicroStation consist of one to five words, so we can define up to four levels of commands in the section when defining our own commands.xml. In this way, a command tree can be formed by the SubtableRef of in the current table and the ID of in the lower table.

adding commands on flashcard hero

The content of the command table consists of one or more elements, and the attribute SubtableRef points to the ID of its subordinate command table. There are attribute IDs in and, indicating the name of the table. There is one and only one KeyinTree node in each command table, and there are three parts under it, namely RootKeyinTable, SubKeyinTables, and KeyinHandlers, which respectively represent the root key-in table, sub-key-in table, and the name of the processing function corresponding to the command key-in. The command list comes from \ Bentley\ MicroStationCONNECTSDK\ examples\ Elements\ ManagedFenceExample\ commands.xml in the MicroStation SDK. The following is an analysis and description of a specific XML format command table.

adding commands on flashcard hero

#ADDING COMMANDS ON FLASHCARD HERO HOW TO#

Second, how to embed the command table in the Add-in program and how to write commands in the Add-in program. One of the main contents of this part is to introduce the format of the XML command table in detail. With the popularity of XML, the command table defined in Add-ins no longer uses the format of the resource file table in the MDL but it is now defined in the XML format.












Adding commands on flashcard hero