ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating Index File from IAcPcDataBuffer

1 REPLY 1
Reply
Message 1 of 2
rwfrenz20
420 Views, 1 Reply

Creating Index File from IAcPcDataBuffer

I'm having trouble finding the appropriate documentation for how to create an point cloud index file (PCG).  The only API function I have been able to locate is acpcIndexPointCloud which is a bit too high-level (i.e. it takes an input file name).

 

What I am trying to do is create a PCG from points in memory.  I have created a class which implements IAcPcDataBuffer and holds my data...could someone point me to the appropriate class/function(s) to use to save it to PCG?

 

Thanks in advance,

Ryan

1 REPLY 1
Message 2 of 2
fenton.webb
in reply to: rwfrenz20

Sorry, but this is not possible I'm afraid. You may be able to write your points to a LAS file on disk and then call the indexer function that way. Creating the LAS file is a slight pain, so you could also consider writing an ascii file and then use a public domain program called Text2Las to generate the LAS file that way, and then index that...
 
Cheers
Fenton Webb
Autodesk Developer Network



Fenton Webb
AutoCAD Engineering
Autodesk

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost