RobotStudio event

[Robotstudio SDK] How to visualize PointCloud class?

Hi,

I need to visualize a pointcloud in RS but I don't know how to do it. I create a PointCloud, assign points to the Points property and make it visible with Visible property but nothing is shown. How to draw it in the station?

Thanks in advance,
HM

Comments

  • Hi HM,

    You also have to add it to the station, e.g.

    station.PointClouds.Add(pointCloud);

    Alternatively, you can draw a temporary (non-persistent) point cloud using

    station.TemporaryGraphics.DrawPointCloud(...);

    Regards, Johannes 

    Johannes Weiman
    Software Engineer
    RobotStudio Team, ABB Robotics