Creating Local Variables
You can automatically determine and set the type of a local variable. For example, typing:
var1 = model.geom();
and then clicking the Create Local Variable button in the Code group on the Method tab in the ribbon:
updates the code to
GeomList var1= model.geom();
Here, GeomList is automatically identified as the data type of model.geom(). The Create Local Variable functionality operates similarly to the Use Shortcut feature. For example, if multiple instances of model.geom() exist, they will all be replaced with the new variable name var1.