ObjectARX

Reply
New Member
rwfrenz20
Posts: 2
Registered: ‎01-19-2012
Message 1 of 2 (178 Views)

Creating Index File from IAcPcDataBuffer

178 Views, 1 Replies
01-19-2012 06:28 AM

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

ADN Support Specialist
Posts: 352
Registered: ‎07-24-2007
Message 2 of 2 (159 Views)

Re: Creating Index File from IAcPcDataBuffer

01-30-2012 03:40 PM 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

Developer Technical Services

Autodesk Developer Network


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community