# Program access

Any image or primitive added to the editor window can be accessed from inside an application by specifying a "Reference" or "Field" name and/or "Id" through its "Properties" dialog box.

SIMSCRIPT Users:

SIMSCRIPT users can define whether a primitive’s color can be defined programmatically through the DCOLOR.A attribute of the icon. For example, if this option if activated and the pointer to the display entity is “ICON.PTR”, you can include code of the form:

Let DCOLOR.A(ICON.PTR) = 15