×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Using IMAGE and IMAGEDEF in a DXF File

Using IMAGE and IMAGEDEF in a DXF File

Using IMAGE and IMAGEDEF in a DXF File

(OP)
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



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources