PDA

View Full Version : screensize/coordinate problem



nico
7th Nov 2005, 12:26 pm
I've got a weird problem which involves the size of the autocad drawing window.

I'm running a script (autocadLT2004) which draws a rectangle with some text and makes a block of it, then a second item is done.

On my 21"screen if the acad drawing window is fullscreen the second rectangle when created a block is also including the first block. Now if I make the vertical size of the acad-drawing window smaller (2/3 screen) two seperate blocks are created.

Any idea what is happening and how I can prevent this (I want seperate blocks).

thanks

CADTutor
7th Nov 2005, 02:18 pm
In theory, the display shouldn't affect the result but we'll need to see the script in order to work this out.

nico
8th Nov 2005, 11:28 am
In theory, the display shouldn't affect the result but we'll need to see the script in order to work this out.

I have it attached underneath but can make it available by email if needed, please ask nthaar AT kahn dot nl



zoom
0.0,0.0
150000.0,150000.0
delay
1000
snap
off
osnap
off
text
2200.0,77225.0
850
0
- TOP
text
2200.0,75950.0
850
0
AZOLLA-1
text
2200.0,74675.0
850
0
135.00x14.50x6.00m
text
2200.0,73400.0
850
0
900.0Ts
text
2200.0,72125.0
850
0
SHANGHAI-R'DAM
rectang
2000.0,78500.0
137000.0,64000.0
block
t_AZOLLA-1
2000.0,78500.0
c
2000.0,78500.0
137000.0,64000.0

insert
t_AZOLLA-1
2000.0,78500.0
1
1
0
text
2200.0,61225.0
850
0
- SIDE
text
2200.0,59950.0
850
0
AZOLLA-1
text
2200.0,58675.0
850
0
135.00x14.50x6.00m
text
2200.0,57400.0
850
0
900.0Ts
text
2200.0,56125.0
850
0
SHANGHAI-R'DAM
rectang
2000.0,62500.0
137000.0,56500.0
block
s_AZOLLA-1
2000.0,62500.0
c
2000.0,62500.0
137000.0,54850.0

insert
s_AZOLLA-1
2000.0,62500.0
1
1
0
snap
off