hansenvandenwatt
16-05-2007, 03:31 AM
Hello,
I try to export DXF with Xdata-Attributes with the a2c32.dll, called from a ArcGIS-Extension.
1.
If the Shape-Attribute-Field contains linebreaks (CR LF) a2c32.dll causes an error i can't trap -> this kills my Application.
Arcv2CAD 5.0 has the same Problems with Linebreaks.
Is it possible to automatically replace Linebreaks and other illegal Characters (/:?*|=...) in the next Version?
2.
I have the following Line in my .a2c-File:
/SF=0 /SV=15 /LFN=ART_TEXT /LC=2 /L2=32 /LT=1 /RL="C:\Temp\Nutzungsart.shp.lgd" \
/C=1 /C0=250 /C1=0 /CFN=ART_TEXT /CC=2 /C2=32 /CH=0 /CS=-1 /CT=1 /RC="C:\Temp\Nutzungsart.shp.col.lgd" \
/AX=4,5,6,7,8,9,10 /AC=250 /AS=ARIAL_TT /AF=ARIAL.TTF /APB=5 /APJ=1 /APV=0 /AH=1 /APAF=1 /APPF=1 /AK=0 /AV=1 /AI=0 /AIP=0 \
/P=4 /PNB=_POINT /PH=1.5 "C:\Temp\Nutzungsart.shp"
The File Nutzungsart.shp.col.lgd looks like this:
[Arcv2CAD]
Version=244
DefaultColorSet=0
DefScheme=Full
AcadMapping=0
PlacesColor=3
IgnoreColRangeEnts=1
[RangesColor]
Num=34
Class=6
NumType=0
lo0=A
hi0=A
lo1=Anl
hi1=Anl
lo2=Bach
hi2=Bach
lo3=Bgl
hi3=Bgl
lo4=Bpl
hi4=Bpl
lo5=Br
hi5=Br
lo6=Fhf
hi6=Fhf
lo7=Fluß
hi7=Fluß
lo8=G
hi8=G
lo9=Geh
hi9=Geh
lo10=GFE
hi10=GFE
lo11=GFEs
hi11=GFEs
lo12=GFGI
hi12=GFGI
lo13=GFHW
hi13=GFHW
lo14=GFLF
hi14=GFLF
lo15=GFÖ
hi15=GFÖ
lo16=GFV
hi16=GFV
lo17=GFW
hi17=GFW
lo18=Gr
hi18=Gr
lo19=Hal
hi19=Hal
lo20=Hei
hi20=Hei
lo21=LH
hi21=LH
lo22=LNH
hi22=LNH
lo23=Lpl
hi23=Lpl
lo24=NH
hi24=NH
lo25=Pl
hi25=Pl
lo26=S
hi26=S
lo27=See
hi27=See
lo28=Spo
hi28=Spo
lo29=U
hi29=U
lo30=WaG
hi30=WaG
lo31=WaT
hi31=WaT
lo32=Weg
hi32=Weg
lo33=UNNAMED
hi33=UNNAMED
[RangesColorLabels]
L0=A
L1=Anl
L2=Bach
L3=Bgl
L4=Bpl
L5=Br
L6=Fhf
L7=Fluß
L8=G
L9=Geh
L10=GFE
L11=GFEs
L12=GFGI
L13=GFHW
L14=GFLF
L15=GFÖ
L16=GFV
L17=GFW
L18=Gr
L19=Hal
L20=Hei
L21=LH
L22=LNH
L23=Lpl
L24=NH
L25=Pl
L26=S
L27=See
L28=Spo
L29=U
L30=WaG
L31=WaT
L32=Weg
L33=UNNAMED
[Colors]
Ramp=0
NumColors=34
[Cols]
Grad=0
0=51,90,150,254,21,81,90,150,90,92,21,21,33,21,33, 21,33,21,81,254,91,92,92,254,92,201,201,150,90,91, 150,150,191
Arcv2CAD draws the CAD-Objects in the wrong color, for example objects with the Shape-Attribute-Value "S" in the field "ART_TEXT" (Field with index 6) in color 90 instead of 201
Is there an error in my .lgd or .a2c-File?
Kind regards,
hansenvandenwatt
I try to export DXF with Xdata-Attributes with the a2c32.dll, called from a ArcGIS-Extension.
1.
If the Shape-Attribute-Field contains linebreaks (CR LF) a2c32.dll causes an error i can't trap -> this kills my Application.
Arcv2CAD 5.0 has the same Problems with Linebreaks.
Is it possible to automatically replace Linebreaks and other illegal Characters (/:?*|=...) in the next Version?
2.
I have the following Line in my .a2c-File:
/SF=0 /SV=15 /LFN=ART_TEXT /LC=2 /L2=32 /LT=1 /RL="C:\Temp\Nutzungsart.shp.lgd" \
/C=1 /C0=250 /C1=0 /CFN=ART_TEXT /CC=2 /C2=32 /CH=0 /CS=-1 /CT=1 /RC="C:\Temp\Nutzungsart.shp.col.lgd" \
/AX=4,5,6,7,8,9,10 /AC=250 /AS=ARIAL_TT /AF=ARIAL.TTF /APB=5 /APJ=1 /APV=0 /AH=1 /APAF=1 /APPF=1 /AK=0 /AV=1 /AI=0 /AIP=0 \
/P=4 /PNB=_POINT /PH=1.5 "C:\Temp\Nutzungsart.shp"
The File Nutzungsart.shp.col.lgd looks like this:
[Arcv2CAD]
Version=244
DefaultColorSet=0
DefScheme=Full
AcadMapping=0
PlacesColor=3
IgnoreColRangeEnts=1
[RangesColor]
Num=34
Class=6
NumType=0
lo0=A
hi0=A
lo1=Anl
hi1=Anl
lo2=Bach
hi2=Bach
lo3=Bgl
hi3=Bgl
lo4=Bpl
hi4=Bpl
lo5=Br
hi5=Br
lo6=Fhf
hi6=Fhf
lo7=Fluß
hi7=Fluß
lo8=G
hi8=G
lo9=Geh
hi9=Geh
lo10=GFE
hi10=GFE
lo11=GFEs
hi11=GFEs
lo12=GFGI
hi12=GFGI
lo13=GFHW
hi13=GFHW
lo14=GFLF
hi14=GFLF
lo15=GFÖ
hi15=GFÖ
lo16=GFV
hi16=GFV
lo17=GFW
hi17=GFW
lo18=Gr
hi18=Gr
lo19=Hal
hi19=Hal
lo20=Hei
hi20=Hei
lo21=LH
hi21=LH
lo22=LNH
hi22=LNH
lo23=Lpl
hi23=Lpl
lo24=NH
hi24=NH
lo25=Pl
hi25=Pl
lo26=S
hi26=S
lo27=See
hi27=See
lo28=Spo
hi28=Spo
lo29=U
hi29=U
lo30=WaG
hi30=WaG
lo31=WaT
hi31=WaT
lo32=Weg
hi32=Weg
lo33=UNNAMED
hi33=UNNAMED
[RangesColorLabels]
L0=A
L1=Anl
L2=Bach
L3=Bgl
L4=Bpl
L5=Br
L6=Fhf
L7=Fluß
L8=G
L9=Geh
L10=GFE
L11=GFEs
L12=GFGI
L13=GFHW
L14=GFLF
L15=GFÖ
L16=GFV
L17=GFW
L18=Gr
L19=Hal
L20=Hei
L21=LH
L22=LNH
L23=Lpl
L24=NH
L25=Pl
L26=S
L27=See
L28=Spo
L29=U
L30=WaG
L31=WaT
L32=Weg
L33=UNNAMED
[Colors]
Ramp=0
NumColors=34
[Cols]
Grad=0
0=51,90,150,254,21,81,90,150,90,92,21,21,33,21,33, 21,33,21,81,254,91,92,92,254,92,201,201,150,90,91, 150,150,191
Arcv2CAD draws the CAD-Objects in the wrong color, for example objects with the Shape-Attribute-Value "S" in the field "ART_TEXT" (Field with index 6) in color 90 instead of 201
Is there an error in my .lgd or .a2c-File?
Kind regards,
hansenvandenwatt