ElementType Service


ElementType Service


Element type describes the type of predefined building elements required to build a building (eg: wall, window, door etc) Each element type have an unique id. Please see the detailed structure of the ElementType in the Object Model

The available element types can be found under 2.1.4.1 Bimplus Element Types

Get the element types
    Resource: element-types 

    URLhttps://api-stage.bimplus.net/v2/<team_slug>/element-types

    Examplehttps://api-stage.bimplus.net/v2/bimplus/element-types

     GET
     Gets the list of existing element types.
    Headers
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    Status
    Status: 200 OK
    
    JSON
    [
      {
        "type": "Column",
        "category": "/1/10/2/",
        "name": "ID_ArchColumn",
        "ifcType": "ID_IFCColumn",
        "id": "2e308afe-d078-4c20-b53c-76b2da66d848"
      },
      {
        "type": "DoorOpening",
        "category": "/5/1/",
        "name": "ID_ArchDoorOpening",
        "ifcType": "ID_IFCOpeningElement",
        "id": "9eaf09c4-1f56-43ee-b008-5291ec50e7e1"
      },
      {
        "type": "Foundation",
        "category": "/1/10/6/",
        "name": "ID_ArchFoundation",
        "ifcType": "ID_IFCFooting",
        "id": "3a508cf2-bb2f-4cc5-9b8c-fbc1a5848bba"
      },
      ...
    ]
    

    Get the element type properties
      Resource: element-types/<element_type_id> 

      URLhttps://api-stage.bimplus.net/v2/<team_slug>/element-types/<element_id>

      Examplehttps://api-stage.bimplus.net/v2/bimplus/element-types/e504f24c-e643-452b-b901-6a18883dc7e9

       GET
       Get the properties of a specified element type.
      Headers
      Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
      Content-Type: application/json
      
      Status
      Status: 200 OK
      
      JSON
      {
          "type": "DoorOpening",
          "category": "/5/1/",
          "name": "ID_ArchDoorOpening",
          "ifcType": "ID_IFCOpeningElement",
          "id": "9eaf09c4-1f56-43ee-b008-5291ec50e7e1"
      }

      Get the list of existing layers
        Resource: element-types/disciplines 

        URLhttps://api-stage.bimplus.net/v2/<team_slug>/element-types/disciplines

        Examplehttps://api-stage.bimplus.net/v2/bimplus/element-types/disciplines

         GET
         Gets the list of existing layers.
        Headers
        Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
        Content-Type: application/json
        
        Status
        Status: 200 OK
        
        JSON
        {
          "0f106af0-a919-44c5-b211-15bd5ef620b6": {
            "category": "/1/",
            "name": "ID_BuildingModel",
            "ifcType": null,
            "id": "0f106af0-a919-44c5-b211-15bd5ef620b6"
          },
          "a330fde2-1a2f-48ed-a6e3-90b92965dca6": {
            "category": "/19/",
            "name": "ID_CollisionModel",
            "ifcType": null,
            "id": "a330fde2-1a2f-48ed-a6e3-90b92965dca6"
          },
          "35f37a1e-c724-453d-a994-6381655ba38f": {
            "category": "/15/",
            "name": "ID_ConstructionSiteModel",
            "ifcType": null,
            "id": "35f37a1e-c724-453d-a994-6381655ba38f"
          },
          ...
        }

         

         

        Get all element types of a layer

          Resource: element-types

          URLhttps://api-stage.bimplus.net/v2/<team_slug>/element-types/disciplines/<discipline_id>

          Examplehttps://api-stage.bimplus.net/v2/bimplus/element-types/disciplines/0f106af0-a919-44c5-b211-15bd5ef620b6

          GET

          Get all element types of given layer

          Headers
          Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
          Content-Type: application/json
          
          Status
          Status: 200 OK
          
          JSON
          [
            {
              "type": "Column",
              "category": "/1/10/2/",
              "name": "ID_ArchColumn",
              "ifcType": "ID_IFCColumn",
              "id": "2e308afe-d078-4c20-b53c-76b2da66d848"
            },
            {
              "type": "Foundation",
              "category": "/1/10/6/",
              "name": "ID_ArchFoundation",
              "ifcType": "ID_IFCFooting",
              "id": "3a508cf2-bb2f-4cc5-9b8c-fbc1a5848bba"
            },
            ...
          ]
          

          Get all element types in a tree view

            Resource: element-types

            URLhttps://api-stage.bimplus.net/v2/<team_slug>/element-types/topology

            Examplehttps://api-stage.bimplus.net/v2/bimplus/element-types/topology

            GET

            Get all Bimplus element types in a tree view

            Headers
            Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
            Content-Type: application/json
            
            Status
            Status: 200 OK
            
            JSON
            [
            ...
                    {
                      "type": "BuildingObject",
                      "layer": "BuildingModel",
                      "name": "ID_Bauteilobjekte",
                      "children": [
                        {
                          "type": "Wall",
                          "layer": "BuildingModel",
                          "name": "ID_ArchWall",
                          "children": null,
                          "category": "/1/10/1/",
                          "ifcType": "ID_IFCWallStandardCase",
                          "id": "10074eef-9418-4d64-9c6d-23932835a7f1"
                        },
                        {
                          "type": "Column",
                          "layer": "BuildingModel",
                          "name": "ID_ArchColumn",
                          "children": null,
                          "category": "/1/10/2/",
                          "ifcType": "ID_IFCColumn",
                          "id": "2e308afe-d078-4c20-b53c-76b2da66d848"
                        },
            
              ...
            ]
            

             

             

            • No labels