Jump to content

Recommended Posts

Posted

I have same ACAD .DWG Files and need to plot all Objects in Polygon Area Layer Named "COVER1" . what can i do?

manually I select window plot form left top of polygon to right down of it.

I need create script to automaticly do this . Thanks

Posted

"...need to pilot all objects..."?

 

Do you perhaps mean plot?

 

Why do you think you need a script to do this?

Posted

yes plot is correct sorry for my speed in typing .

I need this for sequence automatically do this without left time because I have a many ACAD Files in same Format!

Posted

Could you post an image?

 

So you want to plot a particular area (polygon) on a layer named COVER1. Is that correct?

 

Is the area always the same size?

 

Is the area always in the same location on each drawing?

 

How many drawings would we be talking about?

 

Have you used script files before?

Posted

I have 320 Acad Drawing from any location of my hard disk .

in this section create script to find files and open with acad and prompt for selecting right edge and left edge of polygon after this work printer do print automatically i need full automate all level .

the area not a same size or same location But Only have same Layer Name!

Posted

Script files work best when commands are predictably repeatable. You have some variables.

 

1) The drawing files are scattered on your hard drive.

2) The area you want to print is not the same size from drawing to drawing.

3) The area you want to print is not in the same location from drawing to drawing.

 

I'm not sure how this could be done or even if it could be done.

Posted

files have drawing area limited on polygon in layer named "COVER1" .

Posted

How did you expect AutoCAD to find all these drawings scattered about your hard drive?

Posted

Yeah.. take that out of the equation, and let's just say:

 

"When I open one of the files, I want it to print an area based on what's on a single layer"

 

Maybe a script to switch-off and lock all layers except for that one, and then plot extents, scaled to fit?

 

At least that'll save a little time..

Posted

What if the polygon the OP wants to plot isn't the only thing on that layer?

 

Does he want to plot the polygon all by itself? He said they could be located anywhere on the sheet.

Posted

I don't see a way to do that, but I wasn't looking for ways it wouldn't work.

 

Unless you can code for a quick select, and somehow get the bounding area from it, and use that as your window designation.

 

But it was my interpretation of the OP:

 

files have drawing area limited on polygon in layer named "COVER1" .

 

So.. plot by limits? unless they're speaking in English, rather than Cadspeak.

Posted

do you have express tools installed?

if so you can use the layer isolate tool

this will turn off all layers except the one(s) selected.

it would be very helpfull if you post a sample drawing

there are too many questions to ask so if you could post your request in great detail then help would be much easer

Posted

Atach one sample file all files same with this .

 

How did you expect AutoCAD to find all these drawings scattered about your hard drive?

 

use FilesystemObject to find all drawing files in selected drive.

84-H-1345-S.B-08-R1.zip

Posted

Ok, so the idea here is that "cover1" is a layer which contains a "crop area" for printing the drawing. they don't want the other layers turned off.

 

Perhaps a script to:

1. Make a new layout and go to it.

 

2. Turn-off all layers except that one,

 

3. Then set-up printer plus paper size, plot extents, save to layout and exit the plot command before printing

 

4. Then turn back on the layers and print.

 

That's beyond my capabilities since I'm in 2006, but maybe someone else?

 

Or does the cover1 outline appear in the same place/size in all the drawings?

Posted

You could perhaps do this using ODBX, I haven't read the whole thread, but do you use a PC3 file for plotting?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...