|
|
发表于 2009-2-26 17:01:29
|
显示全部楼层
来自: 中国陕西西安
回复 1# yuanrong1980 的帖子
我也做SW二次开发。想要引用这个API函数,不知道该怎么用。指点一下如何。先谢过了!
, w% ^$ i; T9 Vretval = View.InsertBomTable( Template, Xloc, Yloc, Errors )+ _ ?7 ]* w) a) [+ d
Input:
2 ^' J! Y2 r4 Y (BSTR) Template9 Y8 ]# y: |) J$ i. L5 @, r
File name of the template to use to create this BOM
/ G# E" [6 y. G) G
# i8 r; k# ^+ U7 P& P5 \& qInput:
5 w8 c1 Y+ c' u% L7 T N (double) Xloc
7 z- J$ l, n. D$ _4 {8 h$ c X coordinate of the location of the BOM2 J! V- y: Y H0 `* i* r
$ {6 F) ^7 V3 g8 MInput:
& m6 L3 C% ~& U: ^: G) Q2 u (double) Yloc
1 U5 m5 B! Q6 A0 V/ K0 D, A" q Y coordinate of the location of the BOM& j/ a) a" m3 d2 o
$ s% ~8 H1 M$ W: e8 v
Output: j4 j, l) z) P' H3 P G2 v4 }, ]5 {
(long) Errors
- r1 J5 J R9 p @3 a1 l9 U Status of the BOM creation operation as defined in swBOMConfigurationCreationErrors_e5 E7 t* i4 @% ?1 a& }4 R0 L p: r6 w
2 b. R- `1 t3 Z) C
Output:; g9 g5 v/ \( [9 U8 X/ H
(LPDISPATCH) retval
% t$ `) I d" b. ]" Y H Pointer to a dispatch object for the BOM |
|