查看单个帖子
旧 2007-09-04, 01:06 PM   #1
huangyhg
超级版主
 
huangyhg的头像
 
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
huangyhg 向着好的方向发展
默认 1-354247171 - Automating cylinder creation in SW API

ear Daniel,
Thank you for contacting SolidWorks API Support.
Please look at the method "AssemblyDoc::InsertNewPart2". Attached is a
macro which I have recorded to perform the cylinder creation operation
in the assembly.
In the macro, please put the path and filename for the new part in the
"InsertNewPart2" method.
I hope this helps.
Regards,
Pabitra
Pabitra Behera | API Support
www.solidworks.com | www.solidworks.com/api
Date Opened : 9/13/2006 05:18:46 AM
Summary : Automating cylinder creation in SW API
Description : Hi,

Is there a simply set of commands I can use to automate the creation of
a cylinder in an assembly? I am using VB 6.

Thanks.

Daniel Brown
Robotics Engineer
Accuray, Inc.
ACCURAY: Enabling full-body radiosurgery using image-guided robotics
1310 Chesapeake Terrace
Sunnyvale, CA 94089
408-716-4600 x4830 (Office)
__________________
借用达朗贝尔的名言:前进吧,你会得到信心!
[url="http://www.dimcax.com"]几何尺寸与公差标准[/url]
huangyhg离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)