|
|
发表于 2009-2-26 17:01:29
|
显示全部楼层
来自: 中国陕西西安
回复 1# yuanrong1980 的帖子
我也做SW二次开发。想要引用这个API函数,不知道该怎么用。指点一下如何。先谢过了!3 ~; m8 e) f; k7 e& m% G2 u
retval = View.InsertBomTable( Template, Xloc, Yloc, Errors )
% K6 D/ @: w1 A/ B5 G# a; ?* KInput:
, o% c. I* C; W) n/ K (BSTR) Template# G: I% {5 H3 D2 Q; w% _
File name of the template to use to create this BOM+ ^. L" l/ C& U" f: v, k: K S
) k; a$ _( e7 m* HInput:+ I: U5 c; S8 N! W, K( ~: z
(double) Xloc
* H9 x# Q" o3 {1 c, e! K X coordinate of the location of the BOM
9 d; O- E8 S$ w, Y. o & F: ?- P; o9 b2 X
Input:
; i2 i% ~5 I1 [* m% P: |7 } L (double) Yloc
5 Z/ O- ?5 B7 a6 Y1 v Y coordinate of the location of the BOM
9 L, p3 s2 R. s4 r% {" B" D $ g4 N/ J% {8 r1 O% a& a
Output:
* L$ P' i8 d% h+ S+ V (long) Errors2 J8 K/ G1 s1 @; y. ^
Status of the BOM creation operation as defined in swBOMConfigurationCreationErrors_e6 e$ w, q9 O4 ~" W( M% D
3 B' ]7 X) X1 ZOutput:" h) u( G" P; V6 Q
(LPDISPATCH) retval
8 `+ \2 l, A) w7 L' i* V# Q& Z Pointer to a dispatch object for the BOM |
|