I actually did **not** show doing this in the last example, so here is better example that passes the ** interval** and creates the vector object locally inside the

**method:**

`make_geometry()`

```
def make_geometry( interval )
# Create a vector for offsetting points along the x axis:
vec = Geom::Vector3d::new(interval,0,0)
@point1.offset!(vec)
@point2.offset!(vec)
@ents.add_cline( @point1, @point2 )
end
model.start_operation("Spaced Geometry")
spacings.each {|interval|
# Call a method that uses the interval:
make_geometry(interval)
}
model.commit_operation
```