It seems that a copy of the whole vector is necessary. It does not look very efficient. Thanks for your comments. wanlin <wanlinzhu at gmail.com> escribió: >You can assign the value by > >itk::VariableLengthVector<float> vec = oo.Get(); >vec[2] = 3.0; >oo.Set(vec);