You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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
    [3]
    0:  [3]
    0:  {
    type: "GeometryObject"
    category: "/1/30/4/"
    name: "3D object"
    ifcType: "ID_IFCBuildingElementProxy"
    id: "5a8a8670-cb9f-4f04-a467-04a9e416a6d0"
    }-
    1:  {
    type: "Chimney"
    category: "/1/10/8/"
    name: "Chimney"
    ifcType: "ID_IFCBuildingElementProxy"
    id: "e504f24c-e643-452b-b901-6a18883dc7e9"
    }-
    2:  {
    type: "Column"
    category: "/1/10/2/"
    name: "Column"
    ifcType: "ID_IFCColumn"
    id: "2e308afe-d078-4c20-b53c-76b2da66d848"
    }
    ...
    

    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: "Chimney"
      category: "/1/10/8/"
      name: "Chimney"
      ifcType: "ID_IFCBuildingElementProxy"
      id: "e504f24c-e643-452b-b901-6a18883dc7e9"
      }

      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
        {
        -e79a4e18-383f-49c4-aabf-e15b27850423: {
        category: "/14/"
        name: "Airconditionermodel"
        ifcType: null
        id: "e79a4e18-383f-49c4-aabf-e15b27850423"
        }
        -63b069d2-81df-4418-91de-8a954fa12924: {
        category: "/5/"
        name: "Wood Construction Model"
        ifcType: null
        id: "63b069d2-81df-4418-91de-8a954fa12924"
        }
        -dd5cc7d0-72fe-46aa-ba62-dcd86729bd2f: {
        category: "/4/"
        name: "Massiveconstructionmodel"
        ifcType: null
        id: "dd5cc7d0-72fe-46aa-ba62-dcd86729bd2f"
        }
        -6a6e4d09-3550-4483-8134-98ac1e6c1afb: {
        category: "/60/"
        name: "Production model"
        ifcType: null
        id: "6a6e4d09-3550-4483-8134-98ac1e6c1afb"
        }
        -09e623d4-1e12-4a77-b358-ea1d0b28e4a7: {
        category: "/2/"
        name: "Roommodel"
        ifcType: null
        id: "09e623d4-1e12-4a77-b358-ea1d0b28e4a7"
        }
        -687c6451-3fa1-47e0-9f13-406833bb06f3: {
        category: "/13/"
        name: "TGA_Wastewatermodel"
        ifcType: null
        id: "687c6451-3fa1-47e0-9f13-406833bb06f3"
        }
        }
        ...
        
        • No labels