How to make same unit for Volume type "Double" and "Quantity" ?

Happy Kumar
Happy Kumar Member Posts: 15
First Comment
**

Below code will give me System double means in m^3 example : 3.65249415887984E-06

sm=ExtAPI.SelectionManager
b=sm.CurrentSelection.Ids
c=ExtAPI.DataModel.GeoData.GeoEntityById(body)
d=c.Volume.GetType()
d

Below code will give me double means example : '0 [mm mm mm]'

geometry = ExtAPI.DataModel.Project.Model.Geometry
listPart = geometry.GetChildren(DataModelObjectCategory.Part,True)
b=part.Volume.GetType()
b

Answers