Hi,
is it possible to set up a trigger on "On Model Open" which will start the (predefined) Video Recording?
Thank you,
Martin
Hi,
is it possible to set up a trigger on "On Model Open" which will start the (predefined) Video Recording?
Thank you,
Martin
Hi @Martin K5, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.
You can inspect the structure of the Video Recorder GUI to see that the 'Record' button has something similar to this:
Object vr=Model.find("Tools/VideoRecorder"); treenode outputs = node(">variables/outputs", vr); clearcontents(getvarnode(vr, "active")); treenode stopTimes = assertvariable(vr, "stopTimes"); stopTimes.value = nullvar; for(int r = 1; r <= content(outputs); r++){ treenode currOutput = rank(outputs, r); int active = getnodenum(node("active", currOutput)); if(active == 0){ //If this output's not active, we don't care about it. continue; } // nodepoint(getvarnode(vr, "jobscallback"), node("onStopRecord", eventfunctions(ownerview(c)))); // function_s(vr, "GenRecording", VREC_RECMODE_ONE, currOutput); } sendmessage(vr, vr, VREC_MSG_JOBS_RUN);
You may/not need to set the callback to some dummy node - the line I commented out for now.
15 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