Documentation ¶
Index ¶
- type Service
- func (o *Service) Bake(integrateId int64, config map[string]string) (*response.DataBagBean, error)
- func (o *Service) DefaultBake(integrateId int64) (*response.DataBagBean, error)
- func (o *Service) Delete(integrateId int64) (string, error)
- func (o *Service) DeleteElementProperties(integrateId int64, fileId int64, elementId string, ...) (string, error)
- func (o *Service) GetArea(integrateId int64, areaId string) (*response.AreaBean, error)
- func (o *Service) GetAreas(integrateId int64) ([]*response.AreaBean, error)
- func (o *Service) GetBakeDataBag(integrateId int64) ([]*response.DataBagBean, error)
- func (o *Service) GetBoundingBoxes(integrateId int64, fileIdWithEleIdList []string) ([]*response.ElementBoundingBoxBean, error)
- func (o *Service) GetDetails(queryRequest *request.IntegrateQueryRequest) (*response.FileIntegrateDetailBeanPageList, error)
- func (o *Service) GetElementCommonProperties(integrateId int64, elementIdsRequest *request.FileElementIdsRequest, ...) (*response.PropertyBean, error)
- func (o *Service) GetElementFileProperties(integrateId int64, fileId int64, elementId string, includeOverrides bool) (*response.PropertyBean, error)
- func (o *Service) GetElementIds(integrateId int64, floor, specialty, categoryId, family, familyType string) ([]string, error)
- func (o *Service) GetElementIdsWithParams(integrateId int64, params req.QueryParam) ([]string, error)
- func (o *Service) GetElementMaterials(integrateId int64, fileId int64, elementId string) ([]*response.MaterialBean, error)
- func (o *Service) GetElementProperties(integrateId int64, elementId string, includeOverrides bool) (*response.PropertyBean, error)
- func (o *Service) GetElementTree(integrateId int64, treeType string, hierarchies []string, ...) ([]*response.ElementNodeBean, error)
- func (o *Service) GetFiles(integrateId int64, includeDrawingSheet bool) ([]*response.IntegrateFileBean, error)
- func (o *Service) GetFloors(integrateId int64, includeArea, includeRoom bool) ([]*response.FloorBean, error)
- func (o *Service) GetLinkGraphs(integrateId int64, includeDrawingSheet bool) ([]*response.LinkGraphNodeBean, error)
- func (o *Service) GetRoom(integrateId int64, roomId string) (*response.RoomBean, error)
- func (o *Service) GetStatus(integrateId int64) (*response.FileIntegrateBean, error)
- func (o *Service) Integrate(integrateRequest *request.FileIntegrateRequest) (*response.FileIntegrateBean, error)
- func (o *Service) SetElementProperties(integrateId int64, fileId int64, elementId string, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { service.AbstractService //base class AccessTokenService *service.AccessTokenService }
Service ***
func NewService ¶
func NewService(serviceClient *utils.ServiceClient, endpoint *config.Endpoint, accessTokenService *service.AccessTokenService) *Service
NewService ***
func (*Service) DefaultBake ¶
func (o *Service) DefaultBake(integrateId int64) (*response.DataBagBean, error)
func (*Service) DeleteElementProperties ¶
func (o *Service) DeleteElementProperties(integrateId int64, fileId int64, elementId string, properties []*common.PropertyGroup) (string, error)
删除单模型指定构件的属性
func (*Service) GetBakeDataBag ¶
func (o *Service) GetBakeDataBag(integrateId int64) ([]*response.DataBagBean, error)
查询bake数据包
func (*Service) GetBoundingBoxes ¶
func (o *Service) GetBoundingBoxes(integrateId int64, fileIdWithEleIdList []string) ([]*response.ElementBoundingBoxBean, error)
计算指定构件列表的包围盒
fileIdWithEleIdList: 构件ID列表(可选), 每个构件ID由fileID和elementID组成,两个Id之间用.隔开
[
"1211224989204288.1572197", "1211224989204288.1572198"
]
func (*Service) GetDetails ¶
func (o *Service) GetDetails(queryRequest *request.IntegrateQueryRequest) (*response.FileIntegrateDetailBeanPageList, error)
批量查询集成模型状态详情
func (*Service) GetElementCommonProperties ¶
func (o *Service) GetElementCommonProperties(integrateId int64, elementIdsRequest *request.FileElementIdsRequest, includeOverrides bool) (*response.PropertyBean, error)
获取多个构件的共同属性
func (*Service) GetElementFileProperties ¶
func (o *Service) GetElementFileProperties(integrateId int64, fileId int64, elementId string, includeOverrides bool) (*response.PropertyBean, error)
获取构件属性
func (*Service) GetElementIds ¶
func (o *Service) GetElementIds(integrateId int64, floor, specialty, categoryId, family, familyType string) ([]string, error)
查询满足条件的构件ID列表 https://static.bimface.com/restful-apidoc/dist/modelIntegration.html#_getelementidsusingget_1 ** 字段 类型 必填 描述 integrateId Number Y 集成ID specialty String N 专业 floor String N 楼层 categoryId String N 构件分类Id roomId String N 房间id family String N 族 familyType String N 族类型 systemType String N 系统类型 *** 其他参数详见网址地址 **
func (*Service) GetElementIdsWithParams ¶
func (o *Service) GetElementIdsWithParams(integrateId int64, params req.QueryParam) ([]string, error)
查询满足条件的构件ID列表 必填参数: fileId params相关参数,详见 https://static.bimface.com/restful-apidoc/dist/modelIntegration.html#_getelementidsusingget_1
func (*Service) GetElementMaterials ¶
func (o *Service) GetElementMaterials(integrateId int64, fileId int64, elementId string) ([]*response.MaterialBean, error)
获取构件材质列表
func (*Service) GetElementProperties ¶
func (o *Service) GetElementProperties(integrateId int64, elementId string, includeOverrides bool) (*response.PropertyBean, error)
获取构件属性
func (*Service) GetElementTree ¶
func (o *Service) GetElementTree(integrateId int64, treeType string, hierarchies []string, treeRequest *request.IntegrationTreeOptionalRequest) ([]*response.ElementNodeBean, error)
获取构件分类树
func (*Service) GetFiles ¶
func (o *Service) GetFiles(integrateId int64, includeDrawingSheet bool) ([]*response.IntegrateFileBean, error)
获取参与集成的子文件列表
func (*Service) GetFloors ¶
func (o *Service) GetFloors(integrateId int64, includeArea, includeRoom bool) ([]*response.FloorBean, error)
获取单模型的楼层信息
func (*Service) GetLinkGraphs ¶
func (o *Service) GetLinkGraphs(integrateId int64, includeDrawingSheet bool) ([]*response.LinkGraphNodeBean, error)
获取参与集成的子文件列表
func (*Service) GetStatus ¶
func (o *Service) GetStatus(integrateId int64) (*response.FileIntegrateBean, error)
获取转换状态
func (*Service) Integrate ¶
func (o *Service) Integrate(integrateRequest *request.FileIntegrateRequest) (*response.FileIntegrateBean, error)
func (*Service) SetElementProperties ¶
func (o *Service) SetElementProperties(integrateId int64, fileId int64, elementId string, properties []*common.PropertyGroup) (string, error)
修改单模型指定构件的属性