QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

查看: 1173|回复: 0
收起左侧

[求助] 各位大侠帮帮忙

[复制链接]
发表于 2009-2-26 16:32:01 | 显示全部楼层 |阅读模式 来自: 中国陕西西安

马上注册,结识高手,享用更多资源,轻松玩转三维网社区。

您需要 登录 才可以下载或查看,没有帐号?注册

x
做SW二次开发。想要引用这个API函数,不知道该怎么用。6 w* f* Y) y' r& r9 K# ~
retval = View.InsertBomTable( Template, Xloc, Yloc, Errors )
' C$ m, W: Y" Z0 E0 G
Input:5 x9 J% B) N$ e+ |
(BSTR) Template
" a& ?) g- n% Y* |& {4 e0 o
File name of the template to use to create this BOM
4 Z2 R9 G" d2 d8 m: K# r' F
Input:
8 X- d& |- ^1 d* ]; O
(double) Xloc
8 f+ }, x) q/ U1 }1 o% f
X coordinate of the location of the BOM: u3 f/ v. `8 |8 F- q9 R, W7 O! u
Input:
- V& T$ O! Z$ ]8 r
(double) Yloc
+ |$ i" N* r: p# b) y
Y coordinate of the location of the BOM
7 b! d  v( m; \, a7 h. N% d
Output:3 U% f% [$ u3 `+ C9 @* N
(long) Errors
3 q. P' x( d* c0 t
Status of the BOM creation operation as defined in [url=mk:@MSITStore:\Program%20Files\SolidWorks\api\sldworksAPI.chm::/swconst/swBOMConfigurationCreationErrors_e.htm]swBOMConfigurationCreationErrors_e[/url]
9 ?6 Z  c0 Y; b6 s
Output:
  H* s: U" D$ i0 x8 E! F6 d
(LPDISPATCH) retval
0 R) G1 i0 Z; u1 D5 F! p/ E" f
Pointer to a dispatch object for the BOM
* q4 W- z+ x. p9 u$ M) h5 u
3 B% h- `3 F6 b8 B, P( V: r
  谁用过,能否给个例子指点一下啊!
! b5 m+ i, g, w
' k- O+ m& {7 T  b) f6 H( l. q  m. K
     小妹先谢过了!
6 {' p1 X% m& k5 U! i9 q
4 s. z& \4 [4 ^[ 本帖最后由 xiaxuele 于 2009-2-26 16:56 编辑 ]
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


Licensed Copyright © 2016-2020 http://www.3dportal.cn/ All Rights Reserved 京 ICP备13008828号

小黑屋|手机版|Archiver|三维网 ( 京ICP备2023026364号-1 )

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