Dave Paul Posted June 25, 2014 Share Posted June 25, 2014 I am selecting dimensions in a part file for an operation. After the operation is complete, I run a "swPart.HideDimension" (so I don't select them twice), which works properly. To recover when I'm done, I need to programmatically loop through all the dimensions in the part and un-hide them. I have searched and searched and cannot find the trick. Lots of drawing stuff, no part stuff. Is it annotation, or something else? Thank you. Quote Link to comment Share on other sites More sharing options...
Dave Paul Posted June 25, 2014 Author Share Posted June 25, 2014 I got it. Shortened.... Set swDispDim = swFeat.GetFirstDisplayDimension While Not swDispDim Is Nothing Set swAnn = swDispDim.GetAnnotation swAnn.Visible = swAnnotationVisible Set swFeat = swFeat.GetNextFeature Wend Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.