Documentation ¶
Index ¶
- type Service
- func (o *Service) Bake(fileId int64, config map[string]string) (*response.DataBagBean, error)
- func (o *Service) DefaultBake(fileId int64) (*response.DataBagBean, error)
- func (o *Service) DeleteElementProperties(fileId int64, elementId string, properties []*common.PropertyGroup) (string, error)
- func (o *Service) GetArea(fileId int64, areaId string) (*response.AreaBean, error)
- func (o *Service) GetAreas(fileId int64) ([]*response.AreaBean, error)
- func (o *Service) GetBakeDataBag(fileId int64) ([]*response.DataBagBean, error)
- func (o *Service) GetDetails(queryRequest *request.TranslateQueryRequest) (*response.FileTranslateDetailBeanPageList, error)
- func (o *Service) GetElementCommonProperties(fileId int64, elementIds []string, includeOverrides bool) (*response.PropertyBean, error)
- func (o *Service) GetElementIds(fileId int64, floor, specialty, categoryId, family, familyType string) ([]string, error)
- func (o *Service) GetElementIdsWithParams(fileId int64, params req.QueryParam) ([]string, error)
- func (o *Service) GetElementMaterials(fileId int64, elementId string) ([]*response.MaterialBean, error)
- func (o *Service) GetElementProperties(fileId int64, elementId string, includeOverrides bool) (*response.PropertyBean, error)
- func (o *Service) GetElementTree(fileId int64, treeType string, treeRequest *request.FileTreeRequest) ([]*response.ElementNodeBean, error)
- func (o *Service) GetElementsProperties(fileId int64, filterRequest *request.PropertyFilterRequest, ...) ([]*response.PropertyBean, error)
- func (o *Service) GetFilesFloors(fileIds []int64) (*response.FloorsBean, error)
- func (o *Service) GetFloors(fileId int64) ([]*response.FloorBean, error)
- func (o *Service) GetLinks(fileId int64) ([]*response.LinkBean, error)
- func (o *Service) GetMEPSystem(fileId int64) (*response.MEPSysBean, error)
- func (o *Service) GetRoom(fileId int64, roomId string) (*response.RoomBean, error)
- func (o *Service) GetStatus(fileId int64) (*response.FileTranslateBean, error)
- func (o *Service) SetElementProperties(fileId int64, elementId string, properties []*common.PropertyGroup) (string, error)
- func (o *Service) Translate(transRequest *request.FileTranslateRequest) (*response.FileTranslateBean, 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(fileId int64) (*response.DataBagBean, error)
func (*Service) DeleteElementProperties ¶
func (o *Service) DeleteElementProperties(fileId int64, elementId string, properties []*common.PropertyGroup) (string, error)
删除单模型指定构件的属性
func (*Service) GetBakeDataBag ¶
func (o *Service) GetBakeDataBag(fileId int64) ([]*response.DataBagBean, error)
查询bake数据包
func (*Service) GetDetails ¶
func (o *Service) GetDetails(queryRequest *request.TranslateQueryRequest) (*response.FileTranslateDetailBeanPageList, error)
批量获取转换状态详情
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 ¶
查询满足条件的构件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) GetMEPSystem ¶
func (o *Service) GetMEPSystem(fileId int64) (*response.MEPSysBean, error)
获取MEP系统信息
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)
发起文件转换
Click to show internal directories.
Click to hide internal directories.