04-16-2026 05:09 AM
Hi Team, I have a question and it would be great if you have any solution for this, I am trying to automate DIAdem report unit handling in a VBScript that runs from the DIAdem Script Panel.
Goal:
What I tried:
GetObject("DIAdem.Application") / CreateObject("DIAdem.Application"))DiAdem.Settings.Unit)DiAdem.Settings).Data.Root.Unit, Report.DefaultUnit, DiAdem.GetUnit(), DiAdem.SetUnit())Known working command:
Call UpdateLengthUnit("cm")Question:
UpdateLengthUnit(...) safely?04-17-2026 04:53 PM
Set LengthDefUnit = UnitCatalog.ActiveSet.UsedQuantities("Length").DefaultUnit
MsgBox LengthDefUnit.DisplayName & vbCRLF & LengthDefUnit.Symbol
04-24-2026 12:38 AM
Hi Brad,
Thank you so much, that was really helpfull.