You must be aware of some restrictions:

  • Instances of sketch-based features cannot be moved apart from their prototype.
  • Any parameter used as an argument in a formula must be preceded by the ? symbol.   The syntax X =  2 * Y is invalid and must be replaced with X = 2 * ? Y.
  • Unless a formula-defined parameter has not been initialized with the proper units,   the value calculated from the formula is dimensionless.
      Y = 0 kg ;
      Y = 2 * ? X ;
  • A script error stops the reading and the execution of the loop.