Use model.component(<ctag>).geom(<tag>).create(<ftag>,"DistanceMeasurement") to create parameters for distance and vectorial distance.
Use double[] parvalues = model.component(<ctag>).geom(<tag>).feature(<ftag>).getDoubleArray("parvalvec"); to access the parameter values (similar for
parval).