this macro is amazing but can it be one more thing ?
i want to add specific value in each dimension selected.is that possible
I had the same issue as OP and found the following solution for setting the dimension of 128 circles to the same diameter.
1. Select the master feature and dimension to size
2. Fix said feature
3. Select every other feature (not fixed)
4. Add "Equal" relation in Properties
5. Un-fix master feature
I just have my settings set to ask me for a dim when I dimension the sketch. That way I just put the info in and go from there. Learning which dims to do first in the sketch to keep it looking right just comes with experience from the trial and error over years of use, and making many parts..
other option is the use the configuration manager....that is great for making 5 to 500 new part numbers where dims change all the time, but the basic shape is the same threw all the parts.
Select the shapes you want to edit and under "Add Relations" in the properties select 'Equal' (pic below), now the shapes has the same relation and you can change the dimensions of one to change all of them.
In Denmark we use "," as decimal separator. This generally works in SW, but in your macro it gives some strange results. Easy workaround, but slows you down since you can't use the numerical input decimal key.
Other than that - great!
So obviously I had posted this 9 years ago when I first started using SW, funny to see responses now
Let me clarify, if I am editing a sketch that has 20 dimensions for example, in Creo, I can pick all of the dimensions and right click to select modify and a screen comes up with all dimensions in it, then I can un-select regenerate if I want to change multiple dimensions but don't want the changes to be in effect until I exit the form.
The value of this is that I don't have crazy individual sketch curve changes until all have been changed, and then the sketch updates properly all at one time.
This is something I would like to be able to do in SolidWorks occasionally
Also, as noted, the macro from Josh Brady worked well at the time he posted it, the configure tool works, but is more of a work around...imho...still, it works
thanks for feedback, later folks!
The best way using SW is to use the Equations dialog box and filter all the dimensions
It helps if you name the sketches
This method works very well if you review the project and create a design intent where those changes are easy and seamless..
If you'll display the dimensions you want to modify in the graphics area (several ways to do that; I'm sure you're familiar with them), right-click on one of them, and choose "Configure dimension" from the drop-down it will bring up the table shown below, with one row for each configuration and a column for the selected dimension. Double-click on dimensions in the graphics area to add additional columns and edit to your heart's content. You can even name the table near the bottom and save it for future edits if you think you'll need it.
It's a pretty simple process. Will this work for you, or did I miss something?
Another option using a similar workflow would be to right-click on the sketch in the tree and choose "Configure feature". That will open the same dialog box, but with a column where you have the option to suppress the sketch. However, there's a little drop-down arrow you can click on that will show each dimension in the sketch. You can select them to add a row. After doing that you can even delete the first column if it's not needed.
Retrieving data ...