Page 1 of 1
Tool_QuerySoundLevel
Posted: Thu Jun 25, 2026 7:06 pm
by Parel803
Good Evening,
Wondering if this is the correct notation for this?
print(Tool_QuerySoundLevel({targetunitname='F 802 De Zeven Provinciƫn', frequency='VLF'}))
print(Tool_QuerySoundLevel({targetunitname='F 802 De Zeven Provinciƫn', frequency='HF'}))
Because I get same values returned so I might have made an error.
regards GJ
Re: Tool_QuerySoundLevel
Posted: Fri Jun 26, 2026 6:46 am
by Nikel
I have tried with a sub, the values are always the same for the 4 frequencies, changing with the speed. Bug?
18 kts
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='VLF'}))
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='HF'}))
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='LF'}))
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='MF'}))
48.2000007629395
48.2000007629395
48.2000007629395
48.2000007629395
25 kts
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='VLF'}))
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='HF'}))
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='LF'}))
print(Tool_QuerySoundLevel({targetunitname='SSGN 727 Michigan', frequency='MF'}))
67
67
67
67
What is printed is the single value that appears on the map when the option Wake and Cavitation is activated.

- SL.png (13.79 KiB) Viewed 238 times
Re: Tool_QuerySoundLevel
Posted: Fri Jun 26, 2026 10:57 am
by blu3s
Fixed for next release via michaelm75au:
Code: Select all
print(Tool_QuerySoundLevel({targetunitname="DDG 113 John Finn [Arleigh Burke Flight IIA Restart]", frequency='vlf', aspect='all'}))
{ front = 67.5999984741211, side = 68.1999969482422, rear = 68.8000030517578 }
print(Tool_QuerySoundLevel({targetunitname="DDG 113 John Finn [Arleigh Burke Flight IIA Restart]", frequency='vlf'})) ' as is
68.8000030517578
print(Tool_QuerySoundLevel({targetunitname="DDG 113 John Finn [Arleigh Burke Flight IIA Restart]", frequency='vlf', aspect='side'}))
68.1999969482422
Re: Tool_QuerySoundLevel
Posted: Fri Jun 26, 2026 7:11 pm
by Parel803
Thank you all
regards GJ