I'd like to use some of the properties under the AGV class but don't know how to reference an object as an AGV. The objects I'm using are task executers attached to an AGV network.
Here my current code:
AGV agv1 = Model.find("TaskExecuter1");
This is the error I'm getting:
FlexScript exception: Invalid down cast. Object is not an instance of the target type.