Issue
Certain animations in graphics may cause StruxureWare Building Operation to inadvertently close.
Crash Report
A problem occurred in this application
Exception message: NO_MODIFICATION_ALLOWED_ERR: An attempt is made to modify an object where modifications are not allowed.
Environment
StruxureWare Building Operation 1.0
Cause
Creating a graphic animation page without specifying the visibility will cause the graphic to close the StruxureWare Building Operation program.
Resolution
In the image below, showing the Graphics Editor in SmartStruxure, this is a simple graphic page with one Ellipse which alternates between hidden and visible depending on the state of a single digital value being True or False.
- The red arrow shows that we are viewing the Source code for the graphics page.
- The blue arrow is pointing out the Appearance and the Visibility being selected.
- The green line in the source code shows the text which is inserted upon selecting the visibility the blue arrow refers to.
The key is, failure to select the visibility, which inputs the Visibility="Visible" causes StruxureWare to close without notice and produces the Crash Report shown in the Issue.
Download this Graphics Test Folder, which includes the Graphic, and the Digital Value for import to your Graphics Folder
Note: Close or Crash does not occur in StruxureWare releases greater than 1.0.0.173