|
|
发表于 2009-2-26 17:01:29
|
显示全部楼层
来自: 中国陕西西安
回复 1# yuanrong1980 的帖子
我也做SW二次开发。想要引用这个API函数,不知道该怎么用。指点一下如何。先谢过了!
& n' e3 u* F. j$ W% l& Mretval = View.InsertBomTable( Template, Xloc, Yloc, Errors )
4 U6 {/ a! _) i' sInput:+ s3 [; B4 C3 u% {4 a! W* r& I
(BSTR) Template0 P e3 m* r0 L+ }/ ?
File name of the template to use to create this BOM8 v: t& Y% g% S. F. \. ~
3 A1 d- l0 i/ [2 J9 T9 m/ _
Input:6 O @/ w8 g! Z# v2 P& N: t
(double) Xloc
0 C) ^5 q$ ?2 {8 C& r X coordinate of the location of the BOM
4 G3 U1 k$ v6 S. p
; x( |7 E+ W- l" N) z5 O, s: _Input:$ |) J4 s, q+ \! z
(double) Yloc8 N2 y( y+ L( t2 [( ~. B+ r' A/ {
Y coordinate of the location of the BOM
" V4 g, ~( @1 x3 i& \, P, C0 T 9 u9 }' F* e6 w8 y" N
Output:
7 t; @9 b/ a- i& e% r5 o (long) Errors& R9 C r/ y) o' W0 G) n( c4 S
Status of the BOM creation operation as defined in swBOMConfigurationCreationErrors_e
/ A1 }0 _7 R5 l/ o 9 f% I- S* h/ E) H( G. A& {
Output:
( I# n) H& F8 H$ R (LPDISPATCH) retval
& k. ^$ U/ B) B M4 D. R* m/ c p K Pointer to a dispatch object for the BOM |
|