MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_class_properties

Method get_class_properties

src/bsdd/bsdd.py:809–833  ·  view source on GitHub ↗

Get class properties (paginated)

(
        self,
        class_uri: str,
        property_set: str = "",
        property_code: str = "",
        search_text: str = "",
        offset: int = 0,
        limit: int = 1000,
        language_code: str = "",
        version=1,
    )

Source from the content-addressed store, hash-verified

807 return self.get(endpoint, params)
808
809 def get_class_properties(
810 self,
811 class_uri: str,
812 property_set: str = "",
813 property_code: str = "",
814 search_text: str = "",
815 offset: int = 0,
816 limit: int = 1000,
817 language_code: str = "",
818 version=1,
819 ) -> ClassPropertiesContractV1:
820 """
821 Get class properties (paginated)
822 """
823 endpoint = f"Class/Properties/v{version}"
824 params = {
825 "ClassUri": class_uri,
826 "PropertySet": property_set,
827 "PropertyCode": property_code,
828 "SearchText": search_text,
829 "Offset": offset,
830 "Limit": limit,
831 "languageCode": language_code,
832 }
833 return self.get(endpoint, params)
834
835 def get_property(self, uri, language_code="", version: int = 5) -> PropertyContractV5:
836 """

Callers 2

test_get_class_relationsFunction · 0.45

Calls 1

getMethod · 0.95

Tested by 2

test_get_class_relationsFunction · 0.36