The present invention is directed to a method and apparatus for developing
a metadata-infused software program for controlling a device, such as a
robot. A first library of software segments with metadata and a second
library of script documents are provided. A part program wizard uses a
script document selected from the second library to display queries on a
screen of an interface device. Using input information received in
response to the queries, the part program wizard selects and combines
software segments from the first library to produce the metadata-infused
software program. The metadata identifies the selected software segments
and includes statuses of the selected software segments. A graphical
representation of the metadata infused software program is displayed on
the screen and conveys the statuses of the software segments. A
deployment wizard is utilized to teach data points for the
metadata-infused software program.