int setShapeByNameParameter(int index) throws ScriptException {
		String objectName = objectNameParameter(index);
		int shapeType = viewer.getShapeIdFromObjectName(objectName);
		if (shapeType < 0)
			objectNameExpected();
		viewer.setShapeProperty(shapeType, "thisID", objectName);
		return shapeType;
	}