Geometry > Inserting Geometry Sequences from File > Example of Importing Geometry Sequences

Example of Importing Geometry Sequences
The following sequence imports three different geometry sequences from two different files:
Code for use with Java
Model model = ModelUtil.create("Model");
GeomSequence g = model.geom().create("g", 2);
g.insertFile("filename", "geom1");
ModelUtil.load("Model2", "filename2");
g.insertSequence("Model2", "geom1/wp1");
g.insertSequence("Model2", "geom1/wp2");
Code for use with MATLAB
model = ModelUtil.create('Model');
g = model.geom.create('g', 2);
g.insertFile('filename', 'geom1');
ModelUtil.load('Model2', 'filename2');
g.insertSequence('Model2', 'geom1/wp1');
g.insertSequence('Model2', 'geom1/wp2');