What does each "CommandTypeEnum" do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When creating a control definition, we have to specify its Classification as a CommandTypesEnum (or a combination of them). However, I can't seem to find any documentation or resource on what exactly is different about each of those command types.
I can see from the descriptions that some of them cause the document to become dirty, while others do not; but aside from this, I see no reason why I would use any particular one over the other. I see no reason why there's not just two command types -- one that dirties the document, and one that doesn't.
For example, I also see the "kUpdateWithReferencesCmdType" type is for "Commands that cause this document to recalculate its contents with respect to changes that may have occurred in files it is referencing." But I'm not sure when or why I would use this command type. I assume "when" would be if my command calls the "Document.Update" method? But why? What effect does flagging my command with this command type have?
I assume there are other distinctions between these command types, besides dirty vs. not dirty, but what are they? What unique behaviors or effects does each type have? Does anyone know?
Autodesk, can we get some official documentation on these? Along with some examples of real and/or hypothetical commands that fall under each type? ( @MjDeck, @chandra.shekar.g )
Thanks for any help or clarifications!