i want to know the distance of a give dimention i am saving mydimention pointer here below.
Part.AddDimension2(1, 0, 0)
Dim swSelMgr As SelectionMgr
swSelMgr = Part.SelectionManager
Dim dispDim As DisplayDimension = swSelMgr.GetSelectedObject5(1)
Dim dm As Dimension = dispDim.GetDimension2(0)
Regards,
aqeelSolidworksApi macros