Revit二開--計算重心

Revit二開--計算重心 revit二次開發中總有千奇百怪的需求,例如有的朋友要計算物體重心。 在RevitApi裏面,提供了對均質物體計算重心的方法,計算結果就是這個幾何體的重心的座標 XYZ. Solid 類下面有一個 ComputeCentroid 方法 Remarks Calculates the centroid of the solid using an approximation,
相關文章
相關標籤/搜索