Solidworks API - Programmatica
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. 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
页:
[1]