Community
ReCap SDK Forum
Welcome to Autodesk’s ReCap SDK Forum. Share your knowledge, ask questions, get support and explore popular ReCap SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing one very big rcs file in rcp via RCProjectImportSession

1 REPLY 1
SOLVED
Reply
Message 1 of 2
martin.graner
722 Views, 1 Reply

Writing one very big rcs file in rcp via RCProjectImportSession

Hi,


as mentioned in other posts we are using RCProjectImportSession to generate the output rcp project (using RCScanMetadata and addScan(..., ...) <----we call this only once in this case).


Now one of our customers (we went from using the DeCap.exe to writing the rcp projects via the codecs to now using RCPointBuffer) is trying to export around 700 scan positions as an unstructured rcp project.

While we are writing the data to one single rcs scan file we don't wait for any processing or stuff, we call addPointsToScan a lot of times without any big delays.

Now he came back to me and told me that Autodesk is writing these buffers into %temp%/Autodesk, which is alright if the complete buffer size/project size is smaller than the remaining drive space on c:

In his case not: He got a BSD after 5 or 6 hours...

Can we manage this temp storage location on our own via SDK?

I dislike the idea of writing multiple rcs files, since the internal structure of the files is not optimized well.

 

PS:

Was awesome to meet you @karthik.nathan  & @yan.fu in Vegas

1 REPLY 1
Message 2 of 2

Hi @martin.graner ,

 

We don't have a public API to override temp directory location, but that should be easy to do. We'll add it in the next update.

 

As for your usage of calling addPointsToScan(...) and not waiting, that is the correct usage :). We'll take care of the memory management and multi-threading :).

 

Karthik

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report