I'm using BaseDocument
*doc = GetActiveDocument();
to get the document we are using and
const UnitScaleData docScaleData = (const UnitScaleData)doc->GetDataInstance()->GetCustomDataType(DOCUMENT_DOCUNIT, CUSTOMDATATYPE_UNITSCALE);
Float otherScale = 1.0f;
docScaleData->GetUnitScale(otherScale, docunit);
to get the units in the scene, unfortunatly GetActiveDocument() returns a doc named "Untitled 1" in Team Render rendering process so I cannot get the scene units.
Is there any way to get the current scene or units during a Team Render rendering session?