Custom report georeferencing and scale

Hello,

I am writing a custom HTML report template for RealityScan 2.2.0.119430 using the ComponentFunctionSet. The template variables and the component panel disagree on the same component.

Component panel (Alignment Quality):

  • Geo-referenced: Yes, using alignment
  • Metric: Yes, using update

Report template, inside $ComponentStats(actualComponentGUID, ...):

  • $(componentIsGeoreferenced) → True
  • $(componentMetric) → False

The stock “Selected Component Report” that ships with RealityScan shows the same result on this component: Geo-referenced: True, Metric: False. So your own template also reports the component as not metric, while the panel reports it as metric.

The documentation describes componentMetric as “Indicates whether the component is scaled to match real dimensions” and does not mention alignment or update. The component is scaled, because the panel says so, yet the variable returns False.

Setup: georeferencing by ground control points in a local Euclidean coordinate system (local:1 - Euclidean, metres), with no GPS camera priors.

I have re-run the alignment several times. The panel still shows “Metric: Yes, using update” after each new alignment, while Geo-referenced shows “using alignment”.

Questions:

  1. Why is the scale reported as set by update after a fresh alignment with ground control points, while georeferencing is reported as set by alignment?
  2. Is componentMetric (and componentIsGeoreferenced) meant to be true only when the property was set during alignment, and false when it was set by update?
  3. Is there a template variable that gives the current state, the same as the panel shows, including a scale or georeferencing set by update?
  4. Is there a variable that tells whether the property was set by alignment or by update?

Thank you.