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: 

Units in las -> rcs conversion

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
459 Views, 2 Replies

Units in las -> rcs conversion

We're running into an issue where .las point cloud files with units in feel aren't resulting in .rcs files with units in feet, but rather the same numerical value is being interpreted as a value in meters. Is there any way using the C++ API to explicitly set the output units for a generated .rcs file? I tried looking at  the Autodesk::RealityComputing::Project::RCImportFilesSettings struc that gets passed to RCProjectImporter::importFiles, but that doesn't seem to have any options on it that pertain to setting units.

2 REPLIES 2
Message 2 of 3
yan.fu
in reply to: Anonymous

Hi @Anonymous,

 

Currently, the unit in .rcs file is saved in meter.

 

You can set project unit to be feet using RCProject::setUnitType() and then use the unit type information to convert the data in .rcs file to the desired unit.

 

Best,

Yan

 

 

Message 3 of 3
Anonymous
in reply to: yan.fu

Thanks for pointing out the RCProject::setUnitType method. I notice that in the example code for RCPCreator doesn't seem to actually use the RCProject class - instead, it uses RCProjectImporter::importFiles to create a RCP project on-disk that includes the .rcs files created from the input .las files whose filenames are passed to importFiles(). I don't see a way to call something like setUnitType on RCProjectImporter - is there a way to make use of RCProject in a way similar to the way the example code uses RCProjectImporter, i.e. where it takes in some input .las files and outputs .rcs files with the units set programatically?

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report