几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   ObjectARX(VB.NET/C#) (http://www.dimcax.com/hust/forumdisplay.php?f=176)
-   -   【转帖】才鸟同志,请进来看看 (http://www.dimcax.com/hust/showthread.php?t=9748)

yang686526 2009-04-21 01:52 PM

【转帖】才鸟同志,请进来看看
 
才鸟同志,请进来看看
www.dimcax.com
才鸟同志,请进来看看
autodesk.autocad.geometry中的externalboundedsurface如何创建?它的构造函数是这样的public externalboundedsurface( surfacedefinition, surfacekind); 这个inptr应该指向什么?在arx中,好像是用brep api来从中得到externalboundedsurface的比如: // get the subentity path for a face acdbfullsubentpath subpath(knullsubent); ...... // make a face entity to access the surface acbrface faceentity; faceentity.set(subpath); ...... adesk::uint32 numnurbs = 0; acgeexternalboundedsurface** nurbs = null; faceentity.getsurfaceastrimmednurbs(numnurbs, nurbs); 那么,在.net中应该如何操作呢?.net中没有实现对brep类的托管,应该从哪里入手呢?如果非要使用brep api才能访问externalboundedsurface类,那么为什么不托管brep类?反过来,不托管brep类,仅仅托管了autodesk.autocad.geometry中的surface及其派生类又有什么意义呢?请才鸟指教,谢谢
这个我也不是太清楚,已经帮你问别人了。
c#最适合开发autocad,因为它拥有vb容易的特点,却具有vc++的强大功能。
谢谢才鸟,这个问题困扰我很久了


所有的时间均为北京时间。 现在的时间是 02:33 AM.