From 18431dec310b3b4086d8fd05ce89e8add442974b Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Wed, 12 Mar 2025 14:23:43 -0500 Subject: [PATCH] added `material.item.Material.Name.0` to selector syntax --- .../docs/ifcopenshell-python/selector_syntax.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcopenshell-python/docs/ifcopenshell-python/selector_syntax.rst b/src/ifcopenshell-python/docs/ifcopenshell-python/selector_syntax.rst index cfb49034fb..61b9e08841 100644 --- a/src/ifcopenshell-python/docs/ifcopenshell-python/selector_syntax.rst +++ b/src/ifcopenshell-python/docs/ifcopenshell-python/selector_syntax.rst @@ -163,6 +163,7 @@ without needing to write complex code for it. "``materials.count``", "Count the number of materials assigned to an element." "``material.Name``", "Get the name of the assigned material." "``material.item.0.Name``", "Get the name of the first item in a material set (e.g. the first material layer)" + "``material.item.Material.Name.0``", "Get the name of the material in the first item in a material set" The element value syntax works by specifying one or more query keys separated by a ``.`` character. Each query key returns data based of the results of the