【GH】【EXCEL】bumblebee简介:GH↔EXCEL

news2024/9/27 12:13:37

文章目录

  • bumblebee
    • address
    • Component
      • Analysis
      • App
      • Cell
      • Charting
      • Data
      • Graphics
      • Range
      • Shapes
      • Workbooks
      • Worksheets
    • Sample: Accessing_Excel
      • Excel Application
      • Workbook
        • Save Workbook (Create)
        • Get All Workbooks from App
        • Get Workbook by Name
      • Get Workbook
        • Get Active Workbook from App
      • Worksheet
        • Get Active Worksheet's' from App / Workbook / all
      • Get Worksheets
        • Get Worksheet by Name from Workbook,Active Workbook, by Name,Active Worksheet
      • Get Worksheet

bumblebee

address

https://www.interop.xyz/post/bumblebee

https://www.food4rhino.com/en/app/bumblebee

https://github.com/interopxyz/Bumblebee/blob/main/Bumblebee/Components/Worksheets/GH_Ex_Wks_Edit.cs

image-20240818233901334

Bumblebee is an interoperability library for Microsoft Excel and Grasshopper.

Component

  1. Analysis

    1. Sparkcolumn (迷你柱形图)
    2. Sparkline (迷你折线图)
    3. Conditional Average (条件平均值)
    4. Conditional Bar (条件柱状图)
    5. Conditional Between (条件区间)
    6. Conditional Blank (条件空白)
    7. Conditional Scale (条件刻度)
    8. Conditional Top Count (条件最高计数)
    9. Conditional Top Percent (条件最高百分比)
    10. Conditional Unique (条件唯一值)
    11. Conditional Value (条件值)
  2. App

    1. ExcelAppli cati on
  3. Cell

    1. Cell Address (单元格地址)
    2. Cell Location (单元格位置)
    3. Generate Addresses (生成地址)
    4. Range Addresses (范围地址)
  4. Charting

    1. Bar Chart (条形图)
    2. Column Chart (柱状图)
    3. Line Chart (折线图)
    4. Radial Chart (径向图)
    5. Scatter Chart (散点图)
    6. Surface Chart (曲面图)
    7. Chart Decorators (图表装饰器)
    8. Chart Graphics (图表图形)
  5. Data

    1. Compile Column (编译列)
    2. Compile Row (编译行)
    3. Fast Write Data (快速写入数据)
    4. Write Data (写入数据)
    5. Read Data (读取数据)
  6. Graphics

    1. Get Range Color (获取范围颜色)
    2. Range Color (设置范围颜色)
    3. Get Range Border (获取范围边框)
    4. Range Border (设置范围边框)
    5. Get Range Font (获取范围字体)
    6. Range Font (设置范围字体)
  7. Range

    1. Clear Range (清除范围)
    2. Resize Cell (调整单元格大小)
    3. Active Range (活动范围)
    4. Pixel Range (像素范围)
    5. Range Extents (范围扩展)
    6. Sub Ranges (子范围)
    7. Range Merge (合并范围)
    8. Range UnMerge (取消合并范围)
  8. Shapes

    1. Picture (图片)
    2. XL Button (Excel按钮)
    3. XL Check Box (Excel复选框)
    4. XL Dropdown (Excel下拉列表)
    5. XL Label (Excel标签)
    6. XL List Box (Excel列表框)
    7. XL Scroller (Excel滚动条)
    8. XL Spinner (Excel微调控件)
    9. XL Arrow (Excel箭头)
    10. XL Figure (Excel图形)
    11. XL Flow Chart (Excel流程图)
    12. XL Geometry (Excel几何图形)
    13. XL Line (Excel线条)
    14. XL Star (Excel星形)
    15. XL Symbol (Excel符号)
    16. Shape Graphics (形状图形)
  9. Workbooks

    1. Get Workbook (获取工作簿)
    2. Get Workbooks (获取工作簿集)
    3. Activate Workbook (激活工作簿)
    4. Add Macro (添加宏)
    5. Run Macro (运行宏)
    6. Load Workbook (加载工作簿)
    7. Save Workbook (保存工作簿)
  10. Worksheets

    1. Get Worksheet (获取工作表)
    2. Get Worksheets (获取工作表集)
    3. Activate Worksheet (激活工作表)
    4. Edit Worksheet (编辑工作表)
    5. Freeze Worksheet (冻结工作表)
    6. Live Worksheet (实时工作表)

Sample: Accessing_Excel

image-20240818215755656

Excel Application

Returns the Excel Application object.
If an active session of Excel is open, it is returned.
If there is no session of Excel it is created.

Excel Application

image-20240818230758385

  • Input parameters:
    • _A (Boolean) If true, the component will be activated
  • Output parameters:
    • App (Generic Data) An Excel Application Object

Workbook

Save Workbook (Create)

To create a workbook with a specific name, the workbook must first be saved.

image-20240818224142954

Save Workbook

image-20240818230650770

  • Input parameters:
    • Wbk (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Workbook Name
    • F (Text) The 'f’older path to the workbook
    • N (Text) The Workbook 'n’ame
    • E (Integer) The file type 'e’xtension (xlxs, xlxm)
    • _A (Boolean) If true, the component will be activated
  • Output parameters:
    • Wbk (Generic Data) An Excel Workbook Object
    • P (Text) The 'full 'file 'p’ath to the saved file
Get All Workbooks from App

image-20240818224855085

Get Workbooks

image-20240818230934927

Gets all the currently active workbooks

Input parameters:
App (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Workbook Name

Output parameters:
Wbk (Generic Data) Excel Workbook Objects

image-20240818225013073

Get Workbook by Name

Get Workbook


Get a Workbook by name or the active Workbook

image-20240818231347254


Input parameters:
Excel Application (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Workbook Name Name (Generic Data) The name of an active Workbook

Output parameters:
Workbook (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Workbook Name

Get Workbook can be used to get a specific workbook by name.

image-20240818225034298

If no application is provided, a new call will be made to the active instance of Excel.

image-20240818225234038

Get Active Workbook from App

The component can also return the active workbook if no name is provided.

image-20240818225101780

If no inputs are provided, the component will return the active Workbook.

image-20240818225252472

Worksheet

Get Active Worksheet’s’ from App / Workbook / all
  • Get All Worksheets can get all the worksheets in the ‘topmost’ Workbook of an Excel app.
  • If a Workbook is provided as the input all the worksheets in that workbook will be returned.
  • If no input is provided it will return all the worksheets in the topmost Workbook.

Get Worksheets


Gets all the worksheets in a workbook or application

image-20240818233145715


Input parameters:
Workbook (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Workbook Name

Output parameters:
Worksheet (Generic Data) Excel Worksheet Objects

image-20240818231818425

Get Worksheet by Name from Workbook,Active Workbook, by Name,Active Worksheet

Get Worksheet


Get a worksheet by name or the active worksheet from a workbook or application

image-20240818232109690


Input parameters:
Workbook (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Workbook Name Name (Generic Data) The name of an active Worksheet

Output parameters:
Worksheet (Generic Data) An Excel Worksheet Object

  • If Get Worksheet has a name input that does not exist in the current Workbook, it will be added.
  • If no name is provided the topmost Worksheet will be returned.
  • If no Workbook is provided, the active workbook will be used.
  • If no Workbook and Worksheet Name are provided, the active worksheet will be used.

image-20240818232318483

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2052858.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

python 阴暗图像 亮度增强 对比度增强 去雾

背景说明 最近在处理图像,发现一些样本由于逆光原因过于阴暗,影响图像识别。解决时,可以在训练样本中加入类似的图像,或者手动把相关图像进行颜色变化。这里主要介绍手工颜色变化。 原始图像如下,假设你需要判断裤子…

使用 Elasticsearch-DSL Python 客户端简化向量嵌入

作者:来自 Elastic Miguel Grinberg 在本文中,我们将介绍 Python 版 Elasticsearch-DSL 客户端,重点介绍它如何简化构建向量搜索解决方案的任务。 本文附带的代码实现了一个名言数据库。它包括一个使用 FastAPI Web 框架用 Python 编写的后端…

利用http获取文件升级

1.搭建模拟环境 1.电脑端开启Telnet客户端 2.下载HFS文件服务器 Download HFS_2024电脑最新版_HFS官方免费下载_华军软件园 (onlinedown.net) 将要升级的文件放到HFS文件系统中,这里我用了一个test.txt来作为实验 2.通过telnet敲http报文获取HFS服务器中的文件…

拼车系统功能案例分析

拼车系统功能案例分析可以从多个维度进行,以下是一个综合性的分析 一、用户注册与登录 功能描述:用户可以通过手机号、微信、QQ等多种方式轻松注册登录,并支持实名认证以增强身份真实性。案例分析:以T5出行拼车平台为例&#xff…

珂艾泰克拧紧控制器维修方法多样化

珂艾泰克拧紧控制器作为精密工业设备的关键组件,其稳定运行对于保证生产效率和产品质量至关重要。然而,在实际应用中,可能会因各种原因出现CORETEC拧紧控制器故障,影响生产线的正常运行。 【常见CORETEC拧紧控制器故障及原因分析】…

借助帕累托图减少设备停机时间:将非生产时间最小化

虽然全球通胀趋于稳定,但各行业仍能感受到2022年和2023年价格快速上涨的残余影响。对于石油和天然气公司来说,运营成本(包括设备、材料和劳动力)的上升加剧了财务压力。在这个竞争激烈的市场中,减少非生产时间(NPT)对于保持盈利能力至关重要。…

分享五种mfc140.dll丢失如何修复?五种修复错误的详细解决办法

在Windows操作系统中,DLL(动态链接库)文件扮演着至关重要的角色,它们为应用程序提供了共享的函数和资源。其中,mfc140.dll是Microsoft Visual C 2015 Redistributable Package的一部分,对于许多使用Microso…

会话管理

目录 一、为什么使用会话 二、cookie 1.概述 2.使用 (1) servletA向响应中增加Cookie (2)浏览器访问ServletA响应回来的响应报文携带cookie (3)浏览器访问ServletB,将携带cookie的请求报…

探索ORM宇宙:MyBatis-Plus的力量

**技术派项目源码地址 : ** **Gitee : 技术派 - https://gitee.com/itwanger/paicoding**Github : 技术派 - https://github.com/itwanger/paicoding **Mybatis-Plus 官网 : **MyBatis-Plus &#x1f680; 为简化开发而生 (baomidou.com) 整合Mybatis-Plus 引入依赖 <…

Flink之SQL client使用案例

Flink的执行模式有以下三种: 前提是我们已经开启了yarnsession的进程&#xff0c;在下图中可以看到启动的id也就是后续任务需要通过此id进行认证&#xff0c;以及任务分配的master主机。 这里启动时候会报错一个ERROR&#xff1a;org.apache.flink.shaded.curator.org.apache…

风电场风机安全监测系统解决方案

建设背景 随着风电产业的快速发展&#xff0c;风力发电已成为一种重要的清洁能源形式。风电场中的风塔是支撑风力发电机组的重要结构&#xff0c;其安全稳定运行对于风电场的正常运营和发电效率至关重要。然而&#xff0c;风塔常常面临风载、震动、腐蚀等多种外部因素的影响&a…

一键切换全球优质Linux 系统软件源及 Docker 源,轻松安装 Docker —— 适配广泛、零门槛、超强功能的开源脚本!

概述 linuxMirrors开源脚本为 GNU/Linux 系统用户提供了强大的工具,帮助用户轻松更换系统软件源并安装 Docker。脚本适配了多种国内外镜像站,经过测试具备良好的下载速度和 IPv6 兼容性,并且还包括了中国大陆教育网镜像站的选项。无需技术背景,文档提供了详尽的操作指引和常…

telegraf、influxdb、grafana安装配置及后端监听器操作

InfluxDB&#xff08;时序数据库&#xff09;&#xff0c;常用的一种使用场景&#xff1a;监控数据统计。 grafana&#xff0c;用作监控页面的前端展示。 telegraf&#xff0c;数据采集器。 ITG及快捷启动百度网盘&#xff1a;百度网盘 链接: 提取码: 0000 其他地址链接&am…

pycharm2023.1破解

下载解压文件&#xff0c;文件夹 /jetbra 复制电脑某个位置 注意&#xff1a; 补丁所属文件夹需单独存放&#xff0c;且放置的路径不要有中文与空格&#xff0c;以免 Pycharm 读取补丁错误。 点击进入 /jetbra 补丁目录&#xff0c;再点击进入 /scripts 文件夹&#xff0c;双…

JAVA中的网络编程巨详解(2w字)

在学习 Java 网络编程之前&#xff0c;我们先来了解什么是计算机网络。 计算机网络是指两台或更多的计算机组成的网络&#xff0c;在同一个网络中&#xff0c;任意两台计算机都可以直接通信&#xff0c;因为所有计算机都需要遵循同一种网络协议。 下面是一张简化的网络拓扑图…

【Unity开发】几种空值判断的性能测试

【Unity开发】几种空值判断的性能测试&#xff09; 项目优化过程中&#xff0c;一个非常细节的优化&#xff0c;就是在项目数据处理过程中&#xff0c;会用大量的null和“”空值的判断&#xff0c;参考了一些网友说的性能差别很大&#xff0c;是不是真的需要优化的问题&#xf…

Kafka【一】Windows下安装单节点Kafka

① 下载 下载软件安装包&#xff1a;kafka_2.12-3.6.1.tgz&#xff0c;下载地址&#xff1a;https://kafka.apache.org/downloads 这里的3.6.1&#xff0c;是Kafka软件的版本。截至到2023年12月24日&#xff0c;Kafka最新版本为3.6.1。2.12是对应的Scala开发语言版本。Scala2…

html+css+js实现盒子

效果图&#xff1a; 代码&#xff1a; <!DOCTYPE html> <html lang"en"><head><meta charset"UTF-8" /><title>禁止打开盖子</title><style>* {box-sizing: border-box;-webkit-font-smoothing: antialiased;t…

OAuth2-0协议安全学习

有一个问题困扰了很久很久&#xff0c;翻来覆去无法入眠&#xff0c;那就是OAuth2.0有什么安全问题啊 OAuth2.0是一种常用的授权框架&#xff0c;它使网站和 Web 应用程序能够请求对另一个应用程序上的用户帐户进行有限访问&#xff0c;在全世界都有广泛运用 OAuth2.0简介 O…

pygame开发课程系列(6): 游戏优化与发布

第六章 游戏优化与发布 在游戏开发过程中&#xff0c;优化性能和正确发布是至关重要的步骤。本章将探讨如何提升游戏性能&#xff0c;以及如何将游戏打包成独立的可执行文件&#xff0c;以便于分发和使用。 6.1 性能优化 优化游戏性能可以提升用户体验&#xff0c;确保游戏…