integration

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

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) Bake

func (o *Service) Bake(integrateId int64, config map[string]string) (*response.DataBagBean, error)

func (*Service) DefaultBake

func (o *Service) DefaultBake(integrateId int64) (*response.DataBagBean, error)

func (*Service) Delete

func (o *Service) Delete(integrateId int64) (string, error)

获取转换状态

func (*Service) DeleteElementProperties

func (o *Service) DeleteElementProperties(integrateId int64, fileId int64, elementId string, properties []*common.PropertyGroup) (string, error)

删除单模型指定构件的属性

func (*Service) GetArea

func (o *Service) GetArea(integrateId int64, areaId string) (*response.AreaBean, error)

获取指定面积分区的属性

func (*Service) GetAreas

func (o *Service) GetAreas(integrateId int64) ([]*response.AreaBean, 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 (*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) GetRoom

func (o *Service) GetRoom(integrateId int64, roomId string) (*response.RoomBean, 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)

修改单模型指定构件的属性

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL