Point cloud feature extration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I am new to the Revit API and i want to perform automated feature extraction on point clouds within Revit.
I have been reading up on the subject, but came accross multiple problems.
1. Is it possible in the current API to access point clouds in Revit and perform mutations on them like fit walls on the data, evaluate the normals, ..?
2. my plan is to implement a gaussian sphere to evaluate the normals and thus cluster the point clouds in their respective planes. Then i would use ransac or Least squares to fit walls, floors, etc onto the data. Furthermore, i want to do this for sections in the cloud, so in the end i need a clash detection and evaluation tool to complete the model in Revit. Is this possible ?
3. Is it possible to access imigary in this API?
4. I am struggeling to access the point cloud right now.
Following code allows me to select the Element
Selection sel = uidoc.Selection; // first i select a point cloud
foreach (ElementId eleId in sel.GetElementIds())
{
Element ele = doc.GetElement(eleId);
// next im trying to use this eleId to access the point cloud
PointCloudInstance pcd = doc.GetElement(eleId); // but there is an implicit/explicit conversion error
Does anyone have ideas on how to access the point cloud, the data and its normals?
Thank you