In a drawing there is a dimension i need to select the dimension from it value i.e "4.000", or is it possible to get the name of the dimension from the value ?
You need to traverse all dimensions (View::GetDisplayDimensions) and then check the value (IDisplayDimension::GetDimension->IDimension::GetValue3) of each one. And once the dimension is found use the IDisplayDimension::GetAnnotation->IAnnotation::Select3 to select the dimension.
Thanks for the reply Artem,
I tried it already, I need to select the dimension based on its precision value i.e There are dimension in a drawing with two and three precision value, and the macro need to all the dimension with two precision. Please help me to sort it out.
Sorry for late reply!!
Deepak Gupta Artem Taturevych Keith Rice
Try the attached macro. It has options to select one or all dimension based on the set precision value. Edit as required.
Retrieving data ...