|
|
发表于 2009-2-26 17:01:29
|
显示全部楼层
来自: 中国陕西西安
回复 1# yuanrong1980 的帖子
我也做SW二次开发。想要引用这个API函数,不知道该怎么用。指点一下如何。先谢过了!. X! a* v, [' M
retval = View.InsertBomTable( Template, Xloc, Yloc, Errors )
6 T. @4 Z, Y9 v& d O! E+ \Input:. U( U& G$ j& [+ y9 E6 X$ F1 i& H
(BSTR) Template
' i/ Z# W6 k1 p+ Y7 i R File name of the template to use to create this BOM9 |% ?! a4 i+ @& l9 U7 N
0 }% C+ m" z1 A9 l" q w4 iInput:1 a& O; L' D5 Q4 b; ?
(double) Xloc
" L9 A1 A+ n7 c/ W* X0 x7 } X coordinate of the location of the BOM n1 N) K6 g) Z, k( c& X( ]% g
2 F! Y4 `6 t% j3 J' hInput:
9 B/ g6 b' c" y5 a% v/ k1 V (double) Yloc
; N" E4 g4 Y& `8 M% c0 Z' k2 j Y coordinate of the location of the BOM
5 L8 {. L: `0 l' k m - z4 s+ e5 P3 y9 L
Output:2 a0 F8 K l- Z- E
(long) Errors z8 g: F% D' B9 x2 m {5 Z
Status of the BOM creation operation as defined in swBOMConfigurationCreationErrors_e7 a6 D3 D- W% a( v% ?6 x# g
+ x# S( \& H* m9 B, R
Output:
1 B0 s+ V7 O& D9 A+ u$ P1 d; ]% e (LPDISPATCH) retval
, N4 M) T- y8 T! O6 a( K6 s Pointer to a dispatch object for the BOM |
|