I'm trying to play a sound in a custom code in process flow. I have a WAV file and I tried different commands but I haven't been able to do it.
Is there a easy way to play a sound with a command in process flow?
If you open the Command Helper (Help > Command Helper) and search for sound you'll see a bunch of sound commands. The soundplayfile should do the trick:
soundplayfile(activedocumentnode(), "C:\\Users\\matthew.gillespie\\Desktop\\sound.wav", 1);
Try downloading and unzipping this file (sound.zip) and then changing the path in the code above to point to the location of sound.wav.
8 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved