![]() |
【转帖】怎么获得实体的长度
怎么获得实体的长度
怎么获得实体的长度 是否有方法可以直接获取实体(line、arc、ployline等)的长度啊? reply // get length of a curve double length(acdbcurve* pcurve) { double dist = 0.0; acad::errorstatus es; double endparam; es = pcurve->getendparam( endparam ); es = pcurve->getdistatparam( endparam, dist ); assert(acad::eok == es); return dist; } change your life style. 研究一下! 谢谢斑竹哦 研究过了,太好了! |
所有的时间均为北京时间。 现在的时间是 04:58 PM. |