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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings