From f9b9a3738a023f7d7c5ec7ccba9f03eb19a2d482 Mon Sep 17 00:00:00 2001 From: matdave Date: Wed, 16 Jan 2019 13:54:57 -0600 Subject: [PATCH] Add explanation of default value to criteria. --- doc/extend/custom-extract-tpls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/extend/custom-extract-tpls.md b/doc/extend/custom-extract-tpls.md index 7088e14..78befe8 100644 --- a/doc/extend/custom-extract-tpls.md +++ b/doc/extend/custom-extract-tpls.md @@ -80,7 +80,7 @@ Each vehicle consists of an optional `vehicle_package`, a `vehicle_class`, an `o #### xPDOObjectVehicle * `class`: defines the xPDOObject class to be packaged by the vehicle -* `criteria`: an array or object describing the criteria that will be used to select instances of the specified `class` +* `criteria`: an array or object describing the criteria that will be used to select instances of the specified `class`. The default value of `["1 = 1"]` is used to return true for all objects, but can be replaced with other statements like `["id:!=":2]`. * `graph`: defines an object graph to use to package related xPDOObjects * `graphCriteria`: defines the criteria for filtering related xPDOObjects selected by a `graph` * `script`: an optional script to be used to create the vehicle or vehicles for this vehicle definition