Bug in SmartComponent (?)

apox
✭✭
Hi,
i am using the Queue SmartComponent and i am adding Frames to the queue (which is allowed since the queue expects ProjectObjects a Frame is of type ProjectObject).
When clearing the queue (Clear or DeleteAll signal of the SmartComponent), the queue is emptied but the frames are not removed from the Station. Is this a bug or a design feature?
The Queue SmartComopnent expects that the parent of any queue item is of type IHasGraphicComponents (which is not the case when adding frame objects). In case of a frame the SmartComponent has to cast the parent object to IHasFrames and remove the frame then from the collection.
regards,
asc
i am using the Queue SmartComponent and i am adding Frames to the queue (which is allowed since the queue expects ProjectObjects a Frame is of type ProjectObject).
When clearing the queue (Clear or DeleteAll signal of the SmartComponent), the queue is emptied but the frames are not removed from the Station. Is this a bug or a design feature?
The Queue SmartComopnent expects that the parent of any queue item is of type IHasGraphicComponents (which is not the case when adding frame objects). In case of a frame the SmartComponent has to cast the parent object to IHasFrames and remove the frame then from the collection.
regards,
asc
0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 304 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 354 IRC5
- 74 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 850 RAPID Programming
- 26 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings