I'm trying to do an animation (rotor of 42020 helicopter B-model). Got it to work fine when I attach the script to the submodel referencing the rotor and crank submodels to be animated (no rocket science since it's just an adaptation of your video). But I can't seem to be able to do that from main level model, I guess I'm missing a referencing step... I have had a look at the example scripts that come with LDCad but it didn't help me much despite the detailed comments you provide - I must say I am always struggling with high level languages ("My favorite programming language? Soldering iron!").
Edit... I am still interessed in the answer for projects to come, but I realized that the submodels I created (following official BIs) were not fitting mechanical entities and were thus not suitable anyway for animation. So I inlined intermediate submodel.
Edit... I am still interessed in the answer for projects to come, but I realized that the submodels I created (following official BIs) were not fitting mechanical entities and were thus not suitable anyway for animation. So I inlined intermediate submodel.