几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】need help on api insertfillsurface2 (http://www.dimcax.com/hust/showthread.php?t=5558)

yang686526 2009-04-13 01:01 PM

【转帖】need help on api insertfillsurface2
 
need help on api insertfillsurface2
hello all,
i am a newbie to solidwork's add-in development. i have created a sketch comprising 3 line connecting (p1, p2), (p2, p3) and (p3, p1). now what i want is to create a filled surface using this sketch. as this 3 lines makes a triangle so surface creation should be possible. to do this i was trying to use insertfillsurface2, but its not working.
can anyone tell me how to do it (example in c++ would be very helpful) and also explain the parameters of insertfillsurface2. i can understand what is vpatchboundaries (which is the sketch in my case), vcurvaturecontroltype, but what about vfaces and vconstraintcurves.
thanks in advance.
quick


所有的时间均为北京时间。 现在的时间是 09:54 PM.