当前位置: 首页 > news >正文

网络营销的工作内容包括哪些优化搜狗排名

网络营销的工作内容包括哪些,优化搜狗排名,网站性能优化方案,聊城手机网站建设前言 这个例子介绍 Revit 的配电盘明细表,PanelSchedule。Revit 的电器专业在国内用的并不是十分广泛,但从功能上来说还是比较完整的。 内容 这个例子里有三个命令: PanelScheduleExport - 导出配电盘明细表InstanceViewCreation - 创建配…

前言

这个例子介绍 Revit 的配电盘明细表,PanelSchedule。Revit 的电器专业在国内用的并不是十分广泛,但从功能上来说还是比较完整的。

内容

这个例子里有三个命令:

  1. PanelScheduleExport - 导出配电盘明细表
  2. InstanceViewCreation - 创建配电盘明细表
  3. SheetImport - 在图纸中导入配电盘明细表

PanelScheduleExport

用于导出的配电盘明细表:
在这里插入图片描述
导出到 Excel:
在这里插入图片描述
主要用到的 Revit API:
通过 GetSectionData 可以获取配电盘明细表里各个分区的内容

// public class PanelScheduleView : TableView
public TableSectionData GetSectionData(SectionType sectionType);

一个配电盘明细表可以有的分区类型:
头Header、体Body、总结Symmary、尾Footer

namespace Autodesk.Revit.DB
{public enum SectionType{None = -1,Header = 0,Body = 1,Summary = 2,Footer = 3}
}

TableSectionData 可以获取对应的行列:

TableSectionData sectionData = psView.GetSectionData(sectionType);
nRows = sectionData.NumberOfRows;
nCols = sectionData.NumberOfColumns;

通过 GetCellText 可以获取对应的配电盘明细表的内容:

// public class TableView : View
public string GetCellText(SectionType sectionType, int row, int column);

InstanceViewCreation

选中一个配电盘 Panel,通过 CreateInstanceView 创建一个配电盘明细表:

// public class PanelScheduleView : TableView
public static PanelScheduleView CreateInstanceView(Document ADoc, ElementId panelId);

在这里插入图片描述

SheetImport

通过 PanelScheduleSheetInstance::Create 在图纸上放置配电盘明细表:

// public class PanelScheduleSheetInstance : Element
public static PanelScheduleSheetInstance Create(Document ADoc, ElementId scheduleId, View DBView);

在这里插入图片描述
为了将多个明细表放在同一行,计算了各个表的起始位置:

XYZ nextOrigin = new XYZ(0.0, 0.0, 0.0);
foreach (Element element in psViews)
{PanelScheduleView psView = element as PanelScheduleView;if (psView.IsPanelScheduleTemplate()){// ignore the PanelScheduleView instance which is a template.continue;}PanelScheduleSheetInstance onSheet = PanelScheduleSheetInstance.Create(doc, psView.Id, sheet);onSheet.Origin = nextOrigin;BoundingBoxXYZ bbox = onSheet.get_BoundingBox(doc.ActiveView);double width = bbox.Max.X - bbox.Min.X;nextOrigin = new XYZ(onSheet.Origin.X + width, onSheet.Origin.Y, onSheet.Origin.Z);
}
http://www.khdw.cn/news/35823.html

相关文章:

  • 做一家电商网站需要多少钱正规的推文平台
  • 公司的网站推广费怎么做分录长沙h5网站建设
  • 泗阳做网站公司世界足球排名最新
  • wordpress谁开发的长春seo优化
  • 做网站容易还是做小程序容易国际军事新闻最新消息
  • 长安网站建设百度指数与百度搜索量
  • 惠州有做网站的吗西安关键词优化软件
  • 做网站开发要学什么语言百度关键词点击排名
  • 广州荔湾网站制作公司百度sem
  • 凡科建站提示网站建设中网站快速优化排名排名
  • 专业营销的网站建设公司做网络推广一个月的收入
  • 郑州做营销型网站公司软文推广平台
  • 做网站要下载的软件大数据培训班需要多少钱
  • 自己建网站做网店做网站需要多少钱
  • 可以免费做会计题的网站b2b网站大全
  • 如何做ps4游戏视频网站怎么做产品推广和宣传
  • 电子商务与网站建设南昌seo专业团队
  • 做网站都需要什么人团百度搜索提交入口
  • 好的响应式网站有哪些商城推广
  • 国外设计网站欣赏百度直播间
  • 做一般的网站要多久seo文章排名优化
  • 网页制作 基础教程优化关键词排名软件
  • 设计中国第一架飞机个人网站seo入门
  • 设计之家房屋装修游戏工具seo
  • 找人做网站需要多少钱百度谷歌seo优化
  • 网站快照优化公司by72777最新域名查询
  • 有网站如何做直播谷歌seo是什么意思
  • 云开发网站东莞网站建设制作
  • 我想做个门户网站怎么做网络营销就业方向和前景
  • 蚌埠建设学校网站龙岗网站建设