Script To Create GROUP from LAYER

Script To Create GROUP from LAYER

bgeorgeBWGYF
Participant Participant
302 Views
2 Replies
Message 1 of 3

Script To Create GROUP from LAYER

bgeorgeBWGYF
Participant
Participant

What I'm trying to do is use SCALETEXT to scale all the text within the drawing area while not scaling the text in the drawing title block area. I can't use ALL to select the target objects, nor can I use coordinates as the drawings change size due to the objects being drawn to-scale and the title block is then scaled up or down to fit around the object.

With SCALETEXT, the only option I can see that would work is the GROUP option. Conveniently, the text in the drawing area is all on one layer (16) while the text in the title block is on a different layer (0).

The problem is that the GROUP command does not seem to support creating a group from a layer (available options shown below). Is there any way to do this without using a LISP routine? (We use Multi-Batch to run ACAD scripts and I have no experience with LISP).

Expects a point or Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/Add/Remove/Multiple/Previous/Undo/AUto/SIngle

0 Likes
Accepted solutions (2)
303 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
Accepted solution
>>>... the text in the drawing area is all on one layer (16) while the text in the title block is on a different layer (0)....<<<
Other than your unfortunate corporate standards choice of putting anything on layer 0 like that, simply locking the layer you don't wish to edit is all you need to do before using SCALETEXT. Works fine here in a quick test.

HTH
0 Likes
Message 3 of 3

bgeorgeBWGYF
Participant
Participant
Accepted solution

Thanks Pendean, that worked perfectly. I got so stuck in the mindset of isolating one text from the other by creating a GROUP, that this very simple solution never occurred to me.

0 Likes