几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】oddbsweptsurface path entity length (http://www.dimcax.com/hust/showthread.php?t=17612)

yang686526 2009-05-06 08:14 PM

【转帖】oddbsweptsurface path entity length
 
oddbsweptsurface path entity length
oddbsweptsurface path entity length
hello
how can i get path length from oddbsweptsurface object?
i am tryinig to use getpathentity() method of this calss. but all points of entity i get from this method have zero coordinates.
my code example example:
oddblineptr pline = oddbline::cast(pentity->getpathentity());
if (!pline.isnull())
{
... calculate length. but all points is (0.0, 0.0, 0.0)
...
hi,
example file will be very usefull... also tookit version.
i`m sorry, i shiuld attach example to first message 8\.
here is example file.
dwg direct version 2.03
attached files (43.2 kb, 1 views)

oh, 2.3 has very limited support for dbsurfaces (only rendering was implemented). i think that you should try to update to 2.5.x.


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