SolidWorks机械工程师网——最大的SolidWorks学习平台

标题: 各位大侠帮帮忙 [打印本页]

作者: zieqzigkmm    时间: 2009-2-26 16:32
标题: 各位大侠帮帮忙
做SW二次开发。想要引用这个API函数,不知道该怎么用。
retval = View.InsertBomTable( Template, Xloc, Yloc, Errors )
[table=98%]Input:
(BSTR) Template
File name of the template to use to create this BOM
Input:
(double) Xloc
X coordinate of the location of the BOM
Input:
(double) Yloc
Y coordinate of the location of the BOM
Output:
(long) Errors
Status of the BOM creation operation as defined in [url=mkMSITStorerogram%20FilesSolidWorksapisldworksAPI.chm::/swconst/swBOMConfigurationCreationErrors_e.htm]swBOMConfigurationCreationErrors_e[/url]
Output:
(LPDISPATCH) retval
Pointer to a dispatch object for the BOM
谁用过,能否给个例子指点一下啊!
小妹先谢过了!





欢迎光临 SolidWorks机械工程师网——最大的SolidWorks学习平台 (https://www.swbbsc.com/) Powered by Discuz! X3.2