一、洞口类图

#mermaid-svg-8CPGxHq9ZTevDBGx .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .label text{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .node rect,#mermaid-svg-8CPGxHq9ZTevDBGx .node circle,#mermaid-svg-8CPGxHq9ZTevDBGx .node ellipse,#mermaid-svg-8CPGxHq9ZTevDBGx .node polygon,#mermaid-svg-8CPGxHq9ZTevDBGx .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-8CPGxHq9ZTevDBGx .node .label{text-align:center;fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .node.clickable{cursor:pointer}#mermaid-svg-8CPGxHq9ZTevDBGx .arrowheadPath{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-8CPGxHq9ZTevDBGx .flowchart-link{stroke:#333;fill:none}#mermaid-svg-8CPGxHq9ZTevDBGx .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-8CPGxHq9ZTevDBGx .edgeLabel rect{opacity:0.9}#mermaid-svg-8CPGxHq9ZTevDBGx .edgeLabel span{color:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-8CPGxHq9ZTevDBGx .cluster text{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-8CPGxHq9ZTevDBGx .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-8CPGxHq9ZTevDBGx text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-8CPGxHq9ZTevDBGx .actor-line{stroke:grey}#mermaid-svg-8CPGxHq9ZTevDBGx .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-8CPGxHq9ZTevDBGx #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .sequenceNumber{fill:#fff}#mermaid-svg-8CPGxHq9ZTevDBGx #sequencenumber{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx #crosshead path{fill:#333;stroke:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .messageText{fill:#333;stroke:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-8CPGxHq9ZTevDBGx .labelText,#mermaid-svg-8CPGxHq9ZTevDBGx .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-8CPGxHq9ZTevDBGx .loopText,#mermaid-svg-8CPGxHq9ZTevDBGx .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-8CPGxHq9ZTevDBGx .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-8CPGxHq9ZTevDBGx .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-8CPGxHq9ZTevDBGx .noteText,#mermaid-svg-8CPGxHq9ZTevDBGx .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-8CPGxHq9ZTevDBGx .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-8CPGxHq9ZTevDBGx .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-8CPGxHq9ZTevDBGx .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-8CPGxHq9ZTevDBGx .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .section{stroke:none;opacity:0.2}#mermaid-svg-8CPGxHq9ZTevDBGx .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-8CPGxHq9ZTevDBGx .section2{fill:#fff400}#mermaid-svg-8CPGxHq9ZTevDBGx .section1,#mermaid-svg-8CPGxHq9ZTevDBGx .section3{fill:#fff;opacity:0.2}#mermaid-svg-8CPGxHq9ZTevDBGx .sectionTitle0{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .sectionTitle1{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .sectionTitle2{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .sectionTitle3{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-8CPGxHq9ZTevDBGx .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .grid path{stroke-width:0}#mermaid-svg-8CPGxHq9ZTevDBGx .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-8CPGxHq9ZTevDBGx .task{stroke-width:2}#mermaid-svg-8CPGxHq9ZTevDBGx .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .taskText:not([font-size]){font-size:11px}#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-8CPGxHq9ZTevDBGx .task.clickable{cursor:pointer}#mermaid-svg-8CPGxHq9ZTevDBGx .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-8CPGxHq9ZTevDBGx .taskText0,#mermaid-svg-8CPGxHq9ZTevDBGx .taskText1,#mermaid-svg-8CPGxHq9ZTevDBGx .taskText2,#mermaid-svg-8CPGxHq9ZTevDBGx .taskText3{fill:#fff}#mermaid-svg-8CPGxHq9ZTevDBGx .task0,#mermaid-svg-8CPGxHq9ZTevDBGx .task1,#mermaid-svg-8CPGxHq9ZTevDBGx .task2,#mermaid-svg-8CPGxHq9ZTevDBGx .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutside0,#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutside2{fill:#000}#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutside1,#mermaid-svg-8CPGxHq9ZTevDBGx .taskTextOutside3{fill:#000}#mermaid-svg-8CPGxHq9ZTevDBGx .active0,#mermaid-svg-8CPGxHq9ZTevDBGx .active1,#mermaid-svg-8CPGxHq9ZTevDBGx .active2,#mermaid-svg-8CPGxHq9ZTevDBGx .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-8CPGxHq9ZTevDBGx .activeText0,#mermaid-svg-8CPGxHq9ZTevDBGx .activeText1,#mermaid-svg-8CPGxHq9ZTevDBGx .activeText2,#mermaid-svg-8CPGxHq9ZTevDBGx .activeText3{fill:#000 !important}#mermaid-svg-8CPGxHq9ZTevDBGx .done0,#mermaid-svg-8CPGxHq9ZTevDBGx .done1,#mermaid-svg-8CPGxHq9ZTevDBGx .done2,#mermaid-svg-8CPGxHq9ZTevDBGx .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-8CPGxHq9ZTevDBGx .doneText0,#mermaid-svg-8CPGxHq9ZTevDBGx .doneText1,#mermaid-svg-8CPGxHq9ZTevDBGx .doneText2,#mermaid-svg-8CPGxHq9ZTevDBGx .doneText3{fill:#000 !important}#mermaid-svg-8CPGxHq9ZTevDBGx .crit0,#mermaid-svg-8CPGxHq9ZTevDBGx .crit1,#mermaid-svg-8CPGxHq9ZTevDBGx .crit2,#mermaid-svg-8CPGxHq9ZTevDBGx .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-8CPGxHq9ZTevDBGx .activeCrit0,#mermaid-svg-8CPGxHq9ZTevDBGx .activeCrit1,#mermaid-svg-8CPGxHq9ZTevDBGx .activeCrit2,#mermaid-svg-8CPGxHq9ZTevDBGx .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-8CPGxHq9ZTevDBGx .doneCrit0,#mermaid-svg-8CPGxHq9ZTevDBGx .doneCrit1,#mermaid-svg-8CPGxHq9ZTevDBGx .doneCrit2,#mermaid-svg-8CPGxHq9ZTevDBGx .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-8CPGxHq9ZTevDBGx .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-8CPGxHq9ZTevDBGx .milestoneText{font-style:italic}#mermaid-svg-8CPGxHq9ZTevDBGx .doneCritText0,#mermaid-svg-8CPGxHq9ZTevDBGx .doneCritText1,#mermaid-svg-8CPGxHq9ZTevDBGx .doneCritText2,#mermaid-svg-8CPGxHq9ZTevDBGx .doneCritText3{fill:#000 !important}#mermaid-svg-8CPGxHq9ZTevDBGx .activeCritText0,#mermaid-svg-8CPGxHq9ZTevDBGx .activeCritText1,#mermaid-svg-8CPGxHq9ZTevDBGx .activeCritText2,#mermaid-svg-8CPGxHq9ZTevDBGx .activeCritText3{fill:#000 !important}#mermaid-svg-8CPGxHq9ZTevDBGx .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-8CPGxHq9ZTevDBGx g.classGroup text .title{font-weight:bolder}#mermaid-svg-8CPGxHq9ZTevDBGx g.clickable{cursor:pointer}#mermaid-svg-8CPGxHq9ZTevDBGx g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-8CPGxHq9ZTevDBGx g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-8CPGxHq9ZTevDBGx .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-8CPGxHq9ZTevDBGx .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-8CPGxHq9ZTevDBGx .dashed-line{stroke-dasharray:3}#mermaid-svg-8CPGxHq9ZTevDBGx #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx .commit-id,#mermaid-svg-8CPGxHq9ZTevDBGx .commit-msg,#mermaid-svg-8CPGxHq9ZTevDBGx .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-8CPGxHq9ZTevDBGx g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-8CPGxHq9ZTevDBGx g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-8CPGxHq9ZTevDBGx g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-8CPGxHq9ZTevDBGx .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-8CPGxHq9ZTevDBGx .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-8CPGxHq9ZTevDBGx .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-8CPGxHq9ZTevDBGx .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-8CPGxHq9ZTevDBGx .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-8CPGxHq9ZTevDBGx .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-8CPGxHq9ZTevDBGx .edgeLabel text{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-8CPGxHq9ZTevDBGx .node circle.state-start{fill:black;stroke:black}#mermaid-svg-8CPGxHq9ZTevDBGx .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-8CPGxHq9ZTevDBGx #statediagram-barbEnd{fill:#9370db}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-state .divider{stroke:#9370db}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-8CPGxHq9ZTevDBGx .note-edge{stroke-dasharray:5}#mermaid-svg-8CPGxHq9ZTevDBGx .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-8CPGxHq9ZTevDBGx .error-icon{fill:#522}#mermaid-svg-8CPGxHq9ZTevDBGx .error-text{fill:#522;stroke:#522}#mermaid-svg-8CPGxHq9ZTevDBGx .edge-thickness-normal{stroke-width:2px}#mermaid-svg-8CPGxHq9ZTevDBGx .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-8CPGxHq9ZTevDBGx .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-8CPGxHq9ZTevDBGx .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-8CPGxHq9ZTevDBGx .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-8CPGxHq9ZTevDBGx .marker{fill:#333}#mermaid-svg-8CPGxHq9ZTevDBGx .marker.cross{stroke:#333}:root { --mermaid-font-family: "trebuchet ms", verdana, arial;}#mermaid-svg-8CPGxHq9ZTevDBGx {color: rgba(0, 0, 0, 0.75);font: ;}

Opening
element
BoundaryCurves,BoundaryRect,Host,IsRectBoundary,IsTransparentIn3D,IsTransparentInElevation

二、获取洞口边界

如果是长方形边界,使用BoundaryRect属性,其他形状边界使用BoundaryCurves属性。
方法示例:

private void GetBoundary(Opening opening)
{  if (opening.IsRectBoundary)  {  XYZ startPoint = opening.BoundaryRect[0];  XYZ endPoint = opening.BoundaryRect[1];  }  else {  foreach (Curve curve in opening.BoundaryCurves)  {  //遍历Curve   }  }
}

三、其他属性

  1. Host属性可以获得洞口的宿主元素。
  2. IsTransparentIn3D属性返回是否在三维视图透明,只能在族文档里使用。
  3. IsTransparentlnElevation属性返回是否在里面视图透明,只能在族文档里使用。

四、创建洞口

API方法: NewOpening( Wall wall,XYZ pntStart, XYZ pntEnd),可以在墙上创建洞口,参数意义如下:
• wall:墙对象。
• pntStart:长方形的一个顶点。
• pntEnd:长方形的另一个对角的顶点。

在墙上开洞方法示例:

private void CreateOpening(Document RevitDoc, Wall wall){LocationCurve locationCurve = wall.Location as LocationCurve;Line location = locationCurve.Curve as Line;XYZ startPoint = location.GetEndPoint(0);XYZ endPoint = location.GetEndPoint(1);Parameter wallHeightParameter = wall.get_Parameter(BuiltInParameter.WALL_USER_HEIGHT_PARAM);double wallHeight = wallHeightParameter.AsDouble();XYZ delta = (endPoint - startPoint + new XYZ(0, 0, wallHeight)) / 3;using (Transaction transaction = new Transaction(RevitDoc, "在墙上开洞")){transaction.Start();Opening opening = RevitDoc.Create.NewOpening(wall, startPoint + delta, startPoint + delta * 2);transaction.Commit();}}

主程序调用:

Reference pickedRef = null;public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements){Document doc = commandData.Application.ActiveUIDocument.Document;UIApplication uiApp = commandData.Application;Selection sel = uiApp.ActiveUIDocument.Selection;pickedRef = sel.PickObject(ObjectType.Element, "选择一个族实例");Element elem1 = doc.GetElement(pickedRef);Wall wall1 = elem1 as Wall;try{CreateOpening(doc, wall1);}catch{}return Result.Succeeded;}

创建结果:

获取洞口边界及在墙上开洞(Revit二次开发)相关推荐

  1. Revit二次开发 获取模型截面线、截面轮廓

    描述 获取Revit模型的截面线.横切面线.截面轮廓. 用途 用于获取模型的截面线.横切面线.截面轮廓. 实现方式 创建视图平面: 从视图平面获取轮廓线: 获取平面标高处的截面线. 效果 示例 /// ...

  2. Revit二次开发-根据名称获取标高

    Revit二次开发中,在创建元素或者对元素进行修改的时候,需要用到标高,此代码可以获取到当前文档中指定名称的标高, 思路是:先使用过滤器获取文档中所有的标高,再遍历元素,依据名称来匹配,从而得到你想要 ...

  3. Revit二次开发之获取当前电脑所有Revit版本

    一.背景 小伙伴们在做Revit插件安装包时,是否需要获取当前电脑已经安装了哪些版本的Revit呢? 二.解决思路 主要有两种思路 通过注册表 通过revit提供的方式 这里推荐第2种方式,因为这种方 ...

  4. revit二次开发之教学视频

    一.背景 刚入门revit二次开发的小伙伴,很多是零基础的工程人员,为了解决这个问题,博主做了revit二次开发的一系列教学视频(包括C#基础与revit二次开发两个模块),来帮助大家更好的入门. 二 ...

  5. Revit二次开发——引用dynamo中的几何库

    前沿 dynamo的几何库其实是非常强大的,如果自己靠着RevitAPI去写还是非常费劲的.所以想引用dynamo的几何库来做一些工作.主要参考的就是这篇文章.Revit二次开发--不开启Dynamo ...

  6. Revit二次开发入门秘籍 01如何入门

    关于入门 我想在开始学习之前大家应该更需要知道如何入门,对比一下我们在学校的学习,我们需要书.老师-书上呢,是有所有的知识点,有重要的,有不重要的,而老师呢,会知道哪些是重点,也就是我们考试要考的,教 ...

  7. revit二次开发之数据库的使用

    一.背景 小伙伴们在revit二次开发时,可能会需要与数据库做交互,那么如何实现呢? 二.思路 笔者为此录制了一个教学视频,通俗易懂,大家直接看就行了 地址:https://www.bilibili. ...

  8. Revit二次开发入门捷径_升维学习、降维打击

    问题 入门Revit二次开发有捷径吗? 答案 量子力学:有也没有.(皮一下:叠加态) 没有:目的地只有一个,路只有一条,学习没有捷径. 有:虽然路只有一条,但我们可以借助交通工具,缩短时间就是捷径. ...

  9. Revit二次开发案例一(第1讲)

    这期起,将为大家带来二次开发的小案例讲解,通过借助Revit建模与二次开发,帮助大家快速提高开发水平,快快参加吧!!! 族实例是通过族类型创建的,而创建族实例是Revit二次开发尤其重要的,因此小伙伴 ...

最新文章

  1. java使用其他项目的对象,Java对象的复制方法总结
  2. Xcode执行Analyze静态分析
  3. 这家获得谷歌投资的企业想把亚马逊挑下神坛
  4. 永远不要让女生帮你寄领带
  5. GDCM:gdcm::StreamImageWriter的测试程序
  6. React Native开发学习笔记——WebStorm运行项目
  7. 【音乐】想不起来歌名的瞎唱
  8. CSS / CSS3(新增)选择器及优先级原则
  9. cocos creator基础-(六)cc.Sprite使用
  10. php中函数的类型提示和文件读取功能
  11. php抓取访客国旗,爬取世界各国和地区数据国旗和国徽的高清图标和图片
  12. Java中的native方法的使用
  13. Labview 中AniGIF控件及注册方法
  14. 链新:探索NFT中国化路径,与实体经济相结合
  15. 人工智能研究中心快递柜——代码分析十
  16. NVIDIA显卡驱动的安装失败
  17. nginx配置介绍(二)
  18. 验证“歌德巴赫猜想”
  19. centos7模板机的搭建
  20. 小巫的Android视频教学出来啦,欢迎大家关注和指正!!!

热门文章

  1. 使用conda时出现Solving environment: failed with initial frozen solve. Retrying with flexible solve错误
  2. Axure使用中继器为表格添加数据
  3. 恢复W ndows10系统方法步骤,Windows 10系统恢复电脑(刷新电脑)的方法步骤图文教程详解...
  4. 使用自签证书利用浏览器进行HTTPS接口的安全访问
  5. Android HIDL 简介
  6. 【JavaWeb】Servlet系列——HttpServletRequest接口详解
  7. 喜大普奔!GitHub 官方 App 正式版首发!
  8. 如何让鼠标拖动时变成直线
  9. 数组中的元素转成Number或者String---数组map方法
  10. vi/vim/gvim编辑器使用心得