I would like to start a command, let's call it MYSINSERT, that inserts a block. When the command is started, I want to display a ribbon with custom controls for options. -- This part I think I can handle.
My question is, how do I make the MYINSERT command listen for option changes made in the ribbon via the custom controls? I think my controls will have to be WPF and I have worked with some .NET samples that communicate that way.
For sake of example, let's say I want a SCALE dropdown with 1, 2, 3, 4 listed as options. When the user selects 2 or 3, the block preview following the mouse should scale 2 or 3 times and then the user can click the location.
Do ObjectARX commands allow for communication with the Ribbon while mid-command? I'm just looking for an angle of approach or a sample in the ObjectARX kit.
The standard way to implement this is by implementing your command so that you can change the parameters by entering keywords at the input prompt(s). Once you have the command working, you can add ribbon or menu controls that send the appropriate keywords to the executing command in the same way that a user would by typing them in.