明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1516|回复: 3

请问在Inventor中的balloon是个什么对象

[复制链接]
发表于 2005-11-2 09:52:00 | 显示全部楼层 |阅读模式
请问在Inventor中的balloon是个什么对象呀?它有什么用处?
发表于 2005-11-2 11:05:00 | 显示全部楼层

在哪里有这个东西?我想知道

 楼主| 发表于 2005-11-2 13:40:00 | 显示全部楼层

在Inventor的API中有这个object,就是使用VBA开发时会遇到的。

Dim oDrawingDoc As DrawingDocument

MsgBox oDrawingDoc.Sheets.Item(1).[U]Balloons[/U].Count

发表于 2005-11-9 13:53:00 | 显示全部楼层

API的帮助里面有balloons的overview的,看一下就知道了,简单的说就是那个标记用的小窗口

Introduction to balloons

Autodesk Inventor users can add balloon notation to a drawing view or selection of parts automatically. These enumerated balloons are typically associated with a parts list, also generated automatically. Either the balloons or the list can have their values overridden, or new part numbers can be attached to custom parts. Balloons can be of various styles. The balloons and associated parts list can be updated to reflect the current content of the drawing view.

The purpose of balloons

Balloons and their associated parts list are a common means of calling out engineering requirements and specifications for manufacturing parts. Autodesk Inventor automates much of the process, including balloon placement. Balloon placement, type, and content can all be modified through the API.


Note: Balloon notation referencing properties (specified through styles) currently cannot be changed through the API.

Balloons Object Model Diagram


 

MSITStore:C:\Program%20Files\Autodesk\Inventor%2011\SDK\Docs\Help\admapi_11_0.chm::/ov.balloons_diag.gif" border=0>


 

Balloons API structure

Balloons have content in the form of notation. This notation may be a part number, the date the part was created, the mass of the part, the author, and so on. It is typically a part number corresponding to items in a parts list.

The Balloon object references a BalloonValueSets collection comprised of BalloonValueSet objects. These BalloonValueSet objects also have a value and an override value, corresponding to the same functionality through the Autodesk Inventor user interface. The balloon type can be set through the SetBalloonType method of the balloon object. Balloons can reference an existing sketched symbol in place of the standard balloon shapes.

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-19 08:28 , Processed in 0.182314 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表