Hello,
I am in need of a quick and dirty macro to select all dimensions ona drawing and center them. How would I go about traversing throughand selecting all of the dimensions? I believe that the followingline should center the dimension. I just don't know how to get allof the dimensions. Please keep in mind that the dimensions are onthe drawing, not in a sketch or in the model.
swModel.EditDimensionProperties2 0, 0, 0, "", "", 1, 9, 2, 1, 12,12, "", "", 1, "", "", 1
Thank you in advance for your help.SolidworksApi macros
I am in need of a quick and dirty macro to select all dimensions ona drawing and center them. How would I go about traversing throughand selecting all of the dimensions? I believe that the followingline should center the dimension. I just don't know how to get allof the dimensions. Please keep in mind that the dimensions are onthe drawing, not in a sketch or in the model.
swModel.EditDimensionProperties2 0, 0, 0, "", "", 1, 9, 2, 1, 12,12, "", "", 1, "", "", 1
Thank you in advance for your help.SolidworksApi macros
