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)