PDA

View Full Version : Script- drawing layer changing


woodrose
08-18-2004, 02:03 PM
I'm writing simple scripts to create kitchen unit dwgs.
At the end of each I want to select the whole drawing
(_ai_selall) and drop the lot onto the '0' Layer ready for
saving as a block
How do I drop the selected entities onto the zero layer
within the script rather than doing it manualy as I have been doing

Thanks in the hope

Dave L

Tim Badger
08-19-2004, 04:41 AM
just curious, why move all objects to layer 0 ?

"woodrose" <woodrosespam@leafoak.fsnet.co.uk> wrote in message
news:cg0jro$8f6$1@newsg4.svr.pol.co.uk... I'm writing simple scripts to create kitchen unit dwgs. At the end of each I want to select the whole drawing (_ai_selall) and drop the lot onto the '0' Layer ready for saving as a block How do I drop the selected entities onto the zero layer within the script rather than doing it manualy as I have been doing Thanks in the hope Dave L

woodrose
08-19-2004, 02:58 PM
"Tim Badger" <tbadger@adlandsys.com> wrote in message
news:Xd1Vc.5903$0c.3423@read1.cgocable.net... just curious, why move all objects to layer 0 ?
Blocks made on the zero layer will asume the properties of any layer they
are later entered on to.Those created on their own layer keep those layer
properties whichever layer you move them to.

can you solve my queiry?

Dave L

Paul Turvill
08-19-2004, 05:20 PM
Unless you're using LT (and thus *must* use a script), try GO-0.LSP from
http://www.turvill.com/t2/free_stuff
___

"woodrose" <woodrosespam@leafoak.fsnet.co.uk> wrote in message
news:cg0jro$8f6$1@newsg4.svr.pol.co.uk... How do I drop the selected entities onto the zero layer within the script rather than doing it manualy as I have been doing

Tim Badger
08-19-2004, 07:10 PM
I understand that. That was why I got a little confused when after drawing
all of your features, you wanted to move them to layer 0 then make the
blocks... because it will do just that. Sorry, I figured you were drawing
them on separate layers so you would be able to hold properties. In any
case, check out what Paul suggested.


"woodrose" <woodrosespam@leafoak.fsnet.co.uk> wrote in message
news:cg3beg$hc6$1@news8.svr.pol.co.uk... "Tim Badger" <tbadger@adlandsys.com> wrote in message news:Xd1Vc.5903$0c.3423@read1.cgocable.net... just curious, why move all objects to layer 0 ? Blocks made on the zero layer will asume the properties of any layer they are later entered on to.Those created on their own layer keep those layer properties whichever layer you move them to. can you solve my queiry? Dave L

woodrose
08-22-2004, 12:14 PM
Just to clear up what I'm doing

The script is creating 3D solid kitchen units and it uses different layers
for the subtracted and remaining composits

On my way to Pauls site now

Thanks
Dave L

"Tim Badger" <tbadger@adlandsys.com> wrote in message
news:DYdVc.7148$%m4.1199751@read2.cgocable.net... I understand that. That was why I got a little confused when after
drawing all of your features, you wanted to move them to layer 0 then make the blocks... because it will do just that. Sorry, I figured you were drawing them on separate layers so you would be able to hold properties. In any case, check out what Paul suggested. "woodrose" <woodrosespam@leafoak.fsnet.co.uk> wrote in message news:cg3beg$hc6$1@news8.svr.pol.co.uk... "Tim Badger" <tbadger@adlandsys.com> wrote in message news:Xd1Vc.5903$0c.3423@read1.cgocable.net... just curious, why move all objects to layer 0 ? Blocks made on the zero layer will asume the properties of any layer
they are later entered on to.Those created on their own layer keep those
layer properties whichever layer you move them to. can you solve my queiry? Dave L


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service