登录
首页 » C# » 详谈用API读取Revit对象的参数值 .

详谈用API读取Revit对象的参数值 .

于 2022-05-07 发布 文件大小:11.59 kB
0 40
下载积分: 2 下载次数: 1

代码说明:

   public static string ParameterToString(Parameter param)     {       string val = "none";       if (param == null)       {         return val;       }       // To get to the parameter value, we need to pause it depending on its storage type       switch (param.StorageType)       {         case StorageType.Double:           double dVal = param.AsDouble();           val = dVal.ToString();           break;         case StorageType.Inte

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • stm32ZLG7290
    stm32调试周立功7290,实测可用,接口说明已经定义在里面了(stm32 debug Zhou Ligong 7290, the measured available, the interface description has been defined in the inside)
    2013-08-02 10:08:36下载
    积分:1
  • C# 线程池 实例(实现了创建、销毁、暂停线程池、恢复线程池)
    从易语言转型到C#感觉C#自带的线程池不够灵活(或许是自己的技术不够),所以自己写了一个线程池工作类为了配合自己的使用习惯,有兴趣的可以下载参考代码用到的是信号处理以及队列等一些比较基础的东西,已经测试了功能基本上可用 
    2019-08-13下载
    积分:1
  • dianyabiao
    数字电压表的源程序,可以实现实现测量电路的电压,精确到小数点后面三位数字。附带数字电压表的流程图(Digital voltage meter source, can be implemented to realize the voltage measurement circuit, down to the decimal point three digits.Attached flowchart of digital voltmeter)
    2013-11-15 16:38:21下载
    积分:1
  • mcp3424
    mcp3424芯片的驱动代码,该芯片有四通道进行AD采集(Mcp3424 chip driver code, the chip has four channels for AD acquisition.)
    2021-02-24 13:39:40下载
    积分:1
  • zhizhenshibie
    实现一个高精度指针仪表读数自动识别系统.用数码摄像头采集仪表的图像,然后利用数字图像处理技术识别刻度和指针,根据指针和刻度的相对位置计算指针读数值.使用条件霍夫变换(Constrained HOUGH Transfer)和中心投影分析法实现刻度的全自动识别,采用快速中心投影法进行指针检测与识别,识别速度达到68ms.实验结果表明该方法比传统方法速度快、精度高,系统读数平均误差仅为0.016%(To achieve a high precision automatic identification system pointer meter reading. Instrument with a digital camera capture images, then using digital image processing technology to identify scale and pointer, pointer and scale according to the relative position of the pointer readings calculated. Use Hough transform (Constrained HOUGH Transfer) and center projection analysis method to achieve scale automatic identification method using fast center projection target detection and recognition, recognition speed of 68ms. Experimental results show that faster than traditional methods, high accuracy, the system average error of only 0.016 of reading)
    2021-04-26 08:48:45下载
    积分:1
  • bccrypto-csharp-1.8.6-src
    说明:  BCC C# Cryptography Souce Code
    2020-11-29 05:39:06下载
    积分:1
  • 4.1---TFT_LCD
    Simple example to display some text on ZLPC2103 evaluation board sail on www.the0.net with avr-gcc 4.7.2 and openocd + signalyzer.
    2013-04-05 15:25:20下载
    积分:1
  • Serial Programming category with VISUAL C# write com category
    串口编程 类用 VISUAL C# 写的com类-Serial Programming category with VISUAL C# write com category
    2022-02-03 08:30:17下载
    积分:1
  • 数控机床变形杆菌 L297 + L298 步进电机控制
    3axis 数控机床 模拟使用 proteus isis 8l297 和 l298
    2022-02-26 15:25:54下载
    积分:1
  • 1-(3)
    Scheduling With Short Term Security Constrained Unit Commitment
    2015-04-03 21:26:47下载
    积分:1
  • 696518资源总数
  • 104297会员总数
  • 29今日下载