Does anyone know how to:
a) import a custom icon into a DxDesigner toolbar
b) assign a command line command such as "AVIS" or AINVIS" to the new icon?
for executing a command use the "ExecuteCommand" Method of automation.
For the icon I am not sure. You can add a menue entry in the CommandBar, a property of the DxD Application object.
May be it works with the Toolbar Addin. I never have done it myself, but it is mentioned here.
I would recommend a detailed study of the Automation documentation and may be you can ask John Dube here inside the community, who is publishing a lot about DxD automation.
Retrieving data ...