Moldflow Insight Forum
Welcome to Autodesk’s Moldflow Insight Forums. Share your knowledge, ask questions, and explore popular Moldflow Insight topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Audi report Default Unit of measurement

1 REPLY 1
Reply
Message 1 of 2
bschofieldLGPLU
45 Views, 1 Reply

Audi report Default Unit of measurement

I am starting to use the Audi report wizard for the first time. I have noticed that the units of measure will automatically switch to metric for the report slides. 

Is there a way to change this default, to either keep it to the units being used in the actual study or to show both metric and standard?

 

Thanks! 

1 REPLY 1
Message 2 of 2
bernor_mf
in reply to: bschofieldLGPLU

@bschofieldLGPLU 

Hi,

The report generator is based on a script.
The report uses script:
TAPEbyAudi.vbs
In folder:

C:\Program Files\Autodesk\Moldflow Synergy 2025\vendor\tape

It set the units inside the script:
Synergy.SetUnits "Metric"

 

Dim FS
Set FS = CreateObject("Scripting.FileSystemObject")

Dim SynergyGetter, Synergy
On Error Resume Next
Set SynergyGetter = GetObject(CreateObject("WScript.Shell").ExpandEnvironmentStrings("%SAInstance%"))
On Error GoTo 0
If (Not IsEmpty(SynergyGetter)) Then
	Set Synergy = SynergyGetter.GetSASynergy
Else
	Set Synergy = CreateObject("synergy.Synergy")
end if
Synergy.SetUnits "Metric"

Title = "TAPE (Semi Automated Presentation Generator)"


Units name could be, "English" or "Metric" .
To change units:
Synergy.SetUnits "English"

 

To get system units this could be used.
Synergy.GetUnits

 

So, some changes of code could probably make this run as you intend to.


Do not forget to make a backup of original TAPEbyAudi.vbs before changing the code.

 

Unfortunately I have no example code, as "Metric" is my active units.


Hope this helps.
Regards,
Berndt

( If my comments are accepted, provide "Kudos" as appreciation. If your request is answered/resolved, please click the "Accept as Solution" button. Thanks.)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report