Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using IMAGE and IMAGEDEF in a DXF File

Status
Not open for further replies.

Guido

Mechanical
Oct 9, 2001
4
CH
Hello There,

I am trying to write a DXF exporter to transfer data from
a GIS applcation into Autocad2000. The data I wish to
transfer consists of both vector and raster data.
Transferring the vector data has not been a problem.
I am trying to transfer the raster data using the
IMAGE Entity and IMAGEDEF Object. I have copied the
syntax from a DXF file I created directly from AutoCad2000.
However, when I try to load the DXF file generated from
my software, I get error messages such as....

Undefined group code 330 for object on line 114 (where
line 114 is the position group code 330 in the IMAGE enitity). If I delete this group code and associated
value, I simply get the same error on group code 92.
It is almost as if it is interpreting the DXF file
using an parser from a previous release?

The relevant portion of my DXF file is shown
below (starting part way through the CLASS section)....

Please help me..... This is driving me mad!!!

Thanks,

Guido

0
CLASS
1
RASTERVARIABLES
2
AcDbRasterVariables
3
ISM
90
0
280
0
281
0
0
CLASS
1
IMAGEDEF
2
AcDbRasterImageDef
3
ISM
90
0
280
0
281
0
0
CLASS
1
IMAGEDEF_REACTOR
2
AcDbRasterImageDefReactor
3
ISM
90
1
280
0
281
0
0
CLASS
1
IMAGE
2
AcDbRasterImage
3
ISM
90
127
280
0
281
1
0
ENDSEC
0
SECTION
2
ENTITIES
0
IMAGE
5
3B
330
1F
100
AcDbEntity
8
0
92
140
100
AcDbRasterImage
90
0
10
112.2315645629428
20
200.5050611167729
30
0.0
11
1.393055346853237
21
-0.6657742356328321
31
0.0
12
0.6657742356328322
22
1.393055346853237
32
0.0
13
163.0
23
216.0
340
39
70
7
280
0
281
50
282
50
283
0
360
3A
71
1
91
2
14
-0.5
24
-0.5
14
162.5
24
215.5
0
ENDSEC
0
SECTION
2
OBJECTS
0
IMAGEDEF
5
39
330
37
100
AcDbRasterImageDef
90
0
1
C:\TEMP\blakey.jpg
10
163.0
20
216.0
11
0.0061349693251534
21
0.0061349693251534
280
1
281
0
0
ENDSEC
0
EOF



 
Status
Not open for further replies.
Back
Top