PDA

View Full Version : XDATA Inquiry (new user)


jlcrunkleton
19-10-2007, 10:46 PM
Hello,
I'm a new user of CAD2Shape 3.0 and I have a question about how to correctly convert XDATA contained in my .dwg file into the .shp file.

Right now, I have a simple .dwg file containing 3 polygons. In terms of XDATA, it looks like this in AutoCAD:
* Registered Application Name: IAPMS
* Code 1002, Starting or ending brace: {
* Code 1000, ASCII string: 252
* Code 1002, Starting or ending brace: }

* Registered Application Name: DCO15
* Code 1071, 32-bit signed long integer: 1
* Code 1071, 32-bit signed long integer: 1
* Code 1000, ASCII string: SECTNAME
* Code 1004, Binary data not printed.

That is just for one polygon. The first application (IAPMS) is the XDATA I want to transfer. One polygon has the value 252 and the others have values of 251 and 419 for the IAPMS application. How do I get CAD2Shape to output a .shp file with a field named IAPMS with the corresponding values (251, 252, 419) for each polygon?

Right now, I run the software and when I select to use the XDATA, it creates 3 new fields in the .shp file with the headings "251" "252" and "419". These fields contain no values.

Any help is much appreciated! Thanks in advance.

GuthCAD Software Support
20-10-2007, 03:37 AM
Hi,

CAD2Shape currently supports 2 XDATA formats, arbitrarily named XDATA_TYPE1, XDATA_TYPE2.


XDATA_TYPE1 has the basic format:

Application ID
fieldname1=value1
fieldname2=value2
...

XDATA_TYPE2 has the basic format:

Application ID
fieldname1
value1
fieldname2
value2
...

We are working on implementing a 3rd format, XDATA_TYPE3

XDATA_TYPE3 will have the basic format:

Application ID
value1
value2
...

XDATA_TYPE3 is the format you need for your Xdata.

The update to handle this will hopefully be available some time next week. I will post a notice to this thread when it is ready.

best regards,
Software Support

GuthCAD Software Support
06-11-2007, 08:27 PM
Hi,

Re.
Right now, I have a simple .dwg file containing 3 polygons. In terms of XDATA, it looks like this in AutoCAD:
* Registered Application Name: IAPMS
* Code 1002, Starting or ending brace: {
* Code 1000, ASCII string: 252
* Code 1002, Starting or ending brace: }

... How do I get CAD2Shape to output a .shp file with a field named IAPMS with the corresponding value 252?
A new software update CAD2Shape 3.0 A.25 (http://www.guthcad.com/download_cad2shape.htm) is now available to handle this Xdata format.

In the 'Xdata' dialog select:
Application = IAPMS
Xdata Format = XDATA_TYPE3
- click on the Field Name to change its name to 'IAPMS'

best regards,
Software Support