高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|