Example of Importing Geometry Sequences
The following sequence imports three different geometry sequences from two different files:
Code for Use with Java
model.component().create("comp1");
GeomSequence g = model.component("comp1").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.component.create('comp1');
g = model.geom.create('g', 2);
g.insertFile('filename', 'geom1');
ModelUtil.load('Model2', 'filename2');
g.insertSequence('Model2', 'geom1/wp1');
g.insertSequence('Model2', 'geom1/wp2');