Hello,
There is a problem with reading coordinate system information from RCP, RCS using SDK. An empty string is always returned, although ReCap itself displays the coordinate system.
I am talking about these two methods:
/// \brief Get the original coordinate system that is embedded in the RCS file
Autodesk::RealityComputing::Foundation::RCString Autodesk::RealityComputing::Data::RCScan::getOriginalCoordinateSystem() const
/// \brief Get the coordinate system of the project.
/// Scans in one project have the same target coordinate system as the project target coordinate system.
/// \param coordinateSystem The coordinate system of the project
/// \return True if getting coordinate system correctly. False otherwise.
bool Autodesk::RealityComputing::Data::RCProject::getCoordinateSystem(Autodesk::RealityComputing::Foundation::RCString & coordinateSystem)
Best regards,
Aleksei Muravev
Hi @amuravievQ565R,
As Autodesk::RealityComputing::Data::RCProject::getCoordinateSystem returns bool value, what is the returned value when this API is called?
For "although ReCap itself displays the coordinate system", do you mean the coordinate system displayed in the Preferences dialog?
Let me give you my example - https://drive.google.com/file/d/1JhAuCUa0LSKeiCNe1USD67kareGV_HbD/view?usp=drive_link
This project was obtained by importing a LAS file, which contained coordinate system information, into ReCap.
Next to RCP and RCP files you can find files with the json extension which contain information about the contents of the files that was obtained using ReCapSDK_v24.0.2. The information about the coordinate system is empty there.
I would appreciate it if you could test the API on this project.
Maybe in the latest version of SDK everything works as it should. I'll try to check it.
Hi @amuravievQ565R,
I do not have access to the link you mentioned.
But I have tried ReCap SDK 24.0.2 for the second API with our own test data. It works successfully.
To help us diagnose, can you help answer the following questions?
Can't find what you're looking for? Ask the community or share your knowledge.
