Releases: CADBIMDeveloper/LMV-QL
Releases · CADBIMDeveloper/LMV-QL
v1.3.0
Added a new experimental headless-LMV-QL feature
You can run LMV-QL queries without adding an entire APS Viewer application, e.g. without Autodesk.Viewer.GuiViewer3D
(but you still need to reference viewer library and initialize the environment with Autodesk.Viewing.Initializer
).
A code snippet:
Autodesk.Viewing.Document.load(urn, async doc => {
const root = doc.getRoot();
const bubbleNode = root.getDefaultGeometry(); // or whatever you want
const queryResults = await headlessQuery(doc, bubbleNode, filterExpression, options);
/* Do whatever you want with query results */
});
v1.2.0
Add an ability to return all properties with filters like some_filter -> *
. Simple "select all" filter string *
is also valid now
v1.1.0
Query language improvements:
- LMV-QL supports reversed order of arguments in comparison operators, so now both queries are valid:
*.[Some property] >= 5
and5 <= *.[Some property]
. This allows to make queries which are simpler to read, such as5 <= *.[Some property] && *.[Some property} <= 7
- LMV-QL supports property comparison operators now, e.g. you can write a query like
*.property = *.[other property]
- Decreased bundle size
LMV-QL version 1.0.0
- LMV-QL now supports selection expressions, aggregation funtions like
sum
,max
, grouping functionality. See #25 - Fixed not equal operation logic
- Added NOT operators support
- Added IN and NOT IN operators support
v0.9.0
First public version of the package