Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to trigger an animation by clicking on an object in the graphics window?

0
Posted

Is it possible to trigger an animation by clicking on an object in the graphics window?

0

Yes this is possible. 1. Identify in your assembly the part that you want to initiate the animation when selected. 2. Open the assembly_name.js file from the published directory and identify the object id# of the part in the object list (record this number) 3. Open visuals.html file from the html folder in Notepad. 4. Add the following lines after: top_level.IPAControl.Show(); } LINES TO ADD if (id == “75643208”) { var step = 1 if (typeof( top_level.instr[“x”+step] ) != “undefined” ) { top_level.deselectall() top_level.playit (step,0,50) } } 5. Set id# appropriately (example 75643208) 6. Set frame range that you want to play (example 0,50) 7. Save visuals.html 8. Open web page 9. Go to instructions 10.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123