- Thread Author
- #1
I've tried to figure this out for a while now. Plz help
This code
throws this exception
I want to add a few things to the web, but can't figure out how to add the verticies. Directly adding to the default web throws the same error, adding to a new instance of a web works fine, but I want to use the verticies of the default web as well.
This code
Code:
Web web = new Web();
web.addVertices(Traversal.getDefaultWeb().getVertices());
throws this exception
Code:
java.lang.UnsupportedOperationException: This operation is only supported on local navigation graphs.
at nul.IiiiIiiIiIIII.getVertices(wpb:110)
I want to add a few things to the web, but can't figure out how to add the verticies. Directly adding to the default web throws the same error, adding to a new instance of a web works fine, but I want to use the verticies of the default web as well.