Message 1 of 3
The function Forma.getPresentationUnitSystem() is probably not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
We're using your API feature to sync the units your users use with our app.
import { Forma } from 'forma-embedded-view-sdk/auto';
export async function runFormaUnitsDemo() {
const result = await Forma.getPresentationUnitSystem();
console.log('[UNITS]', {
result,
type: typeof result,
});
return result;
}However, even when the “Imperial” unit system is selected in the Forma UI settings, we're still getting metric value in the logs
Maybe we're missing something, or maybe it's a bug in the API.
I'd appreciate your response.
Best regards
Vsevolod