Problem

If you render/calculate animations explicit inside ArchiCAD you can add animation to your objects. This needs to modify each object code, which should be animated in the film. See this example for a common door. Don't forget to make backups of the objects before.

Solution

Given Parameters (example):
gs_open_3d type angle: Angle of 3D opening in objects of the subtype GS-doors

Add these parameters to the parameter list:
animation, type checkbox: Switch to activate the machanism.
aniB, type integer: Framenumber of the first animation step, BEGIN
aniE, type integer: Framenumber of the finished animation, END

3D - script

IF animation AND aniE>aniB THEN
  !... OK animation process is allowed
  !... do the settings

  startwert =
gs_open_3d
  zielwert = 90  ! target value of the animated parameter
 
IF GLOB_FRAME_NR>=aniB THEN
    IF GLOB_FRAME_NR<aniE THEN
      !... in the animation process
      schritt = (zielwert-
startwert)/(aniE-aniB+1)
      wert =
startwert+schritt*(GLOB_FRAME_NR-aniB+1)
      ELSE
      !... after animation
      wert = zielwert
      ENDIF
    !... set animated value
    gs_open_3d = wert
    ENDIF
  ENDIF