基于C#语言的CAD二次开发在避雷针保护范围计算中的应用  被引量:1

Application of CAD Secondary Development Based on C#Language in Calculation of Lightning Rod Protection Range

在线阅读下载全文

作  者:林部云 LIN Buyun(China-Portugal New Energy Technology Center(Shanghai)Co.,Ltd.,Shanghai 200335,China)

机构地区:[1]中葡新能源技术中心(上海)有限公司,上海200335

出  处:《电工技术》2022年第14期202-206,共5页Electric Engineering

摘  要:介绍了采用C#语言进行CAD二次开发的特点,分析了避雷针保护范围计算及绘图的计算机实现重难点,设计了一套计算流程,通过运用折线法对避雷针保护范围进行计算,采用AutoCAD.NET的CAD二次开发技术开发了避雷针保护范围计算及自动绘制保护范围图的CAD插件。采用最小二乘法对b_(x)曲线进行拟合,获得可直接计算取值的表达式,解决了需人工读取图表的麻烦,在AutoCAD中实现了快速计算并绘制保护范围图,提高了计算和绘图的工作效率。The characteristics of CAD secondary development using C#language is introduced,and the important and difficult points of computer realization of lightning rod protection range calculation and drawing are analyzed.A set of calculation process is designed,and the protection range of lightning rod is calculated by using the broken line method.A CAD plug-in for lightning rod protection range calculation and automatic drawing of protection range diagrams is developed based on CAD secondary development technology of AutoCAD.NET.b_(x) curve is fitted by least squares method,and an expression for direct calculation of values is obtained,which solves the problem of reading charts manually.Fast calculation and drawing of protection range diagram are implemented in AutoCAD,which improves the efficiency of calculation and drawing.

关 键 词:AutoCAD.NET CAD插件 C#语言 最小二乘法 

分 类 号:TM621[电气工程—电力系统及自动化]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象