PointCloud PickBox and export to csv

PointCloud PickBox and export to csv

SONA-ARCHITECTURE
Advocate Advocate
921 Views
3 Replies
Message 1 of 4

PointCloud PickBox and export to csv

SONA-ARCHITECTURE
Advocate
Advocate

Hi there,

 

I'm french, so, I hope, you'll excuse my english 🙂

 

I'm trying to developp a module to select a region from a pointclound instance and export all the points in my selection to a csv file.

I found Code Region: PickBox wich use CreateMultiPlaneFilter to highlight points selected.

I've got 2 questions :

  1. if i use the GetPoints function, does the function extracts points from my filter?
  2. when I change the view range or the offset delimitation of my view, I can control the visibility of my cloud. Does the getPoints takes into account the points masked or not?

 

I hope I make myself understood...

 

1000 thx 🙂

 
Pierre NAVARRA
SONA-Architecture.
http://www.sona-architecture.com
https://fr.linkedin.com/in/pierre-navarra-62032a107
0 Likes
Accepted solutions (2)
922 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

Hi,

 

I do not know off-hand.

 

I suspect nobody else does either. 

 

I suggest you try it out yourself and let us know the result.

 

Is there anything stopping you from doing that?

 

Thank you!

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 4

SONA-ARCHITECTURE
Advocate
Advocate
Accepted solution

Hi Jeremy!

 

I'm done!

You can have a look here and I can explain if necessary.

 

Pierre NAVARRA
SONA-Architecture.
http://www.sona-architecture.com
https://fr.linkedin.com/in/pierre-navarra-62032a107
0 Likes
Message 4 of 4

christian.tonn
Participant
Participant
Accepted solution

Hi agence,

 

I'll try to answer this from my experience with point clouds in the Revit API.

 

> 1. if i use the GetPoints function, does the function extracts points from my filter?

 

Yes, but the point number is limited to 999'999 (a million) in the requested convex section.

 

> 2. when I change the view range or the offset delimitation of my view, I can control the visibility of my cloud. Does the getPoints takes into account the points masked or not?

 

No, you will always get all points of all loaded point clouds (sampled down to the million) even if you don't see them on your screen. You will have to take care for all other view limitations by yourself. I hope you won't miss one (ViewRange, ViewOffset, SectionBox, ViewType, DesignPhase, ...) it's actually a little hard, I guess.

 

I hope this helped a little.

 

Ciao, says

                 Christian