Hi Alex,
re:
> is it possible to add to this select circles by size rad or diameter so if you a group
> of circles of varying sizes you can select 1 size and change those only.
Yes you could modify the script to do that.
Maybe something like this - currently in BatchEditCircles.js on line number 70 it is gathering up the circles, the current code looks like this:
code:
if ( obj.isCircle )
{
circles.addObject( obj );
var this_radius = obj.conicRadius;
<...>
You could modify that to only gather up circles of a particular radius value, add something like this (warning untested) - added lines marked with a > at the start of the line, don't put that in the actual code. Oh and also move the line where it calls addObject lower down:
code:
if ( obj.isCircle )
{
> //circles.addObject( obj ); *moved lower*
var this_radius = obj.conicRadius;
> // Added code here:
> var target_radius = 5.0;
>
> // Don't gather the circle unless it matches the target radius.
> if ( Math.abs( target_radius - this_radius ) > 1.0e-12 )
> continue;
>
> circles.addObject( obj );
<...>
- Michael
|