modelfile

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: 11 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(fileId int64, config map[string]string) (*response.DataBagBean, error)

func (*Service) DefaultBake

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

func (*Service) DeleteElementProperties

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

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

func (*Service) GetArea

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

获取单个面积分区信息

func (*Service) GetAreas

func (o *Service) GetAreas(fileId int64) ([]*response.AreaBean, error)

获取楼层对应面积分区列表

func (*Service) GetBakeDataBag

func (o *Service) GetBakeDataBag(fileId int64) ([]*response.DataBagBean, error)

查询bake数据包

func (*Service) GetDetails

批量获取转换状态详情

func (*Service) GetElementCommonProperties

func (o *Service) GetElementCommonProperties(fileId int64, elementIds []string, includeOverrides bool) (*response.PropertyBean, error)

获取多个构件的共同属性

func (*Service) GetElementIds

func (o *Service) GetElementIds(fileId int64, floor, specialty, categoryId,
	family, familyType string) ([]string, error)

查询满足条件的构件ID列表 http://static.bimface.com/restful-apidoc/dist/translateSingleModel.html#_getelementidsusingget ** 字段 类型 必填 描述 fileId Number Y 文件Id specialty String N 专业 floor String N 楼层 categoryId String N 构件分类Id family String N 族 familyType String N 族类型 *** 其他参数详见网址地址 **

func (*Service) GetElementIdsWithParams

func (o *Service) GetElementIdsWithParams(fileId int64, params req.QueryParam) ([]string, error)

查询满足条件的构件ID列表 必填参数: fileId params相关参数,详见 http://static.bimface.com/restful-apidoc/dist/translateSingleModel.html#_getelementidsusingget

func (*Service) GetElementMaterials

func (o *Service) GetElementMaterials(fileId int64, elementId string) ([]*response.MaterialBean, error)

获取构件材质列表

func (*Service) GetElementProperties

func (o *Service) GetElementProperties(fileId int64, elementId string, includeOverrides bool) (*response.PropertyBean, error)

获取构件属性

func (*Service) GetElementTree

func (o *Service) GetElementTree(fileId int64, treeType string, treeRequest *request.FileTreeRequest) ([]*response.ElementNodeBean, error)

获取构件分类树

func (*Service) GetElementsProperties

func (o *Service) GetElementsProperties(fileId int64, filterRequest *request.PropertyFilterRequest, includeOverrides bool) ([]*response.PropertyBean, error)

批量获取构件属性

func (*Service) GetFilesFloors

func (o *Service) GetFilesFloors(fileIds []int64) (*response.FloorsBean, error)

获取多个模型的楼层信息

func (*Service) GetFloors

func (o *Service) GetFloors(fileId int64) ([]*response.FloorBean, error)

获取单模型的楼层信息

func (o *Service) GetLinks(fileId int64) ([]*response.LinkBean, error)

获取单模型的楼层信息

func (*Service) GetMEPSystem

func (o *Service) GetMEPSystem(fileId int64) (*response.MEPSysBean, error)

获取MEP系统信息

func (*Service) GetRoom

func (o *Service) GetRoom(fileId int64, roomId string) (*response.RoomBean, error)

获取单个房间信息

func (*Service) GetStatus

func (o *Service) GetStatus(fileId int64) (*response.FileTranslateBean, error)

获取转换状态

func (*Service) SetElementProperties

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

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

func (*Service) Translate

func (o *Service) Translate(transRequest *request.FileTranslateRequest) (*response.FileTranslateBean, error)

发起文件转换

Jump to

Keyboard shortcuts

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