|
|
发表于 2009-2-26 17:01:29
|
显示全部楼层
来自: 中国陕西西安
回复 1# yuanrong1980 的帖子
我也做SW二次开发。想要引用这个API函数,不知道该怎么用。指点一下如何。先谢过了!
$ F1 [1 p4 S, Z2 lretval = View.InsertBomTable( Template, Xloc, Yloc, Errors )
' t/ f8 \7 z5 B+ n) O1 wInput:! O4 `7 d. h5 R
(BSTR) Template
2 V- F. @( D0 L/ I3 C0 ^ File name of the template to use to create this BOM
5 C* }8 J* Y7 G# Z6 N+ g
( p9 c2 ?( s# Y7 l8 D% O( ? cInput:
! U2 P( H) n w- r (double) Xloc
' W0 _1 r( n; m# s X coordinate of the location of the BOM
& C# g+ a. m+ X) p/ j M" S6 C
# S3 S& d9 E6 P0 W6 y0 u* i) {' u% J! `Input:
$ I% c9 N% B5 l1 x6 G6 [ (double) Yloc
% p% O8 {8 b& w+ t, {+ [3 H9 } Y coordinate of the location of the BOM3 M% c# {! r5 u, U1 e
, ]! n6 Y2 g7 g9 Q
Output:
5 G4 O0 j& X/ v (long) Errors
# k; K( B9 Y0 l9 Z# t, p, c; D0 q; n4 V Status of the BOM creation operation as defined in swBOMConfigurationCreationErrors_e
, X8 M* y% l* J2 C# Z& n ! k( H( n: {* `, C' T# X+ C
Output:7 I6 a: p5 }6 U: {
(LPDISPATCH) retval' q- d8 u. u* b" z- L. b- _5 E
Pointer to a dispatch object for the BOM |
|