Guthrie CAD :: GIS Software Support Forum  

Go Back   Guthrie CAD :: GIS Software Support Forum > Arcv2CAD

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2008, 06:19 AM
KChyld KChyld is offline
Member
 
Join Date: Jan 2008
Posts: 3
Default Marker Definition error -147

Hi,

I am having trouble using the marker definitions with a template that I have created. The shape file will convert fine if I don’t use the template however when I do use the template I get the following:
ERROR Saving file: X:\000-Jobs Pending\GIS\arc2cad\W_Fh.dwg
Error code is -147. Is the file open in another application (e.g. AutoCAD)?
We are on v5.0 A.17

Please let me know if you need any additional information
Reply With Quote
  #2  
Old 04-01-2008, 12:40 PM
GuthCAD Software Support GuthCAD Software Support is offline
Administrator
 
Join Date: Nov 2004
Posts: 350
Default

Hi,

Please update to the latest version (5.0 A.33 as of this post.) It should hopefully fix the problem. Download here.

If you still get errors, try remaking your template DWG as a 'clean' drawing. I.e. start with a new empty DWG, and copy and paste the Blocks that you need into the new drawing.

best regards,
Software Support
Reply With Quote
  #3  
Old 08-01-2008, 04:26 AM
KChyld KChyld is offline
Member
 
Join Date: Jan 2008
Posts: 3
Default Thanks

Thanks for the quick reply, that worked. I seem to be having another issue now. I have multiple shapes that I want to convert. Each shape has it’s own custom block that I have created for it that I wish to use as a marker definition. I have created a single DWG file that contains an instance of each of the blocks I will need. I have also created a single A2C file that contains all the switch information I will need. What appears to happen, is that only 1 of the block definitions is used across all the shape files. In the code example below the block X-INLET-10 is used on all shapes despite the fact that I have specified other block for them.

A2C Example:
; Storm Drain Inlet
/C0=8 \
/L=SD_Inlet \
/P=13 /PH=1.0 /PNB=X-INLET-10 \
/SV=14 \
"H:\GIS\arc2cad\SD_Inlet.shp" "H:\GIS\arc2cad\SD_Inlet.dwg"
; FIRE HYDRANTS
/C0=8 \
/L=0-GIS-W-FH \
/P=13 /PH=20.0 /PNB=X-Fh \
/SV=14 \
/TN=WWW_ID /TS=ROMANS /TF=ROMANS_.TTF /TH=1.600000 /TC=-1 /TO=1 /TOF=5.0000 /TL=1 /TLL=0-GIS-W-FH-TXT \
"H:\GIS\arc2cad\w_fh.shp" "H:\GIS\arc2cad\w_fh.dwg"
; WATER METER
/C0=150 \
/L=0-GIS-W-METER \
/P=13 /PH=20.0 /PNB=X-METER \
/SV=14 \
/TN=WWW_ID /TS=ROMANS /TF=ROMANS_.TTF /TH=1.60000 /TC=-1 /TO=1 /TOF=5.0000 /TL=1 /TLL=0-GIS-W-METER-TXT /TPB=5 \
"H:\GIS\arc2cad\W_Meter.shp" "H:\GIS\arc2cad\W_Meter.dwg"
; WATER VALVE - CONTROL
/C0=8 \
/L=0-GIS-W-VAL \
/P=13 /PH=20.0 /PNB=X-VALVE \
/SV=14 \
/TN=WWW_ID /TS=ROMANS /TF=ROMANS_.TTF /TH=1.600000 /TC=-1 /TO=1 /TOF=5.0000 /TL=1 /TLL=0-GIS-W-VAL-TXT /TPB=5 /TD=1 /TDP=0 \
"H:\GIS\arc2cad\W_Val_Ctrl.shp" "H:\arc2cad\W_Val_Ctrl.dwg"
; WASTE WATER MANHOLE
/C0=2 \
/L=WW_Mh \
/P=13 /PH=1.0 /PNB=X-WW-MH \
/SV=14 \
"H:\GIS\arc2cad\ww_mh.shp" "H:\GIS\arc2cad\ww_mh.dwg"

Again, let me know if you need more detail or if I’m taking the wrong approach to multiple shape processing.
Reply With Quote
  #4  
Old 08-01-2008, 09:24 PM
GuthCAD Software Support GuthCAD Software Support is offline
Administrator
 
Join Date: Nov 2004
Posts: 350
Default

Hi,

There is a switch for specifying the dwg file that contains the custom BLOCKS. It is

/PB=pathname

where 'pathname' is the full pathname of the location of the dwg file.

Example:

/PB=c:\myblocks\customblocks.dwg

So in your script, whereever you have the switch /P=13, add after it the /PB switch. E.g.

/P=13 /PB=c:\myblocks\customblocks.dwg

Hopefully it will fix it!

Best regards,
Software Support
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +9.5. The time now is 04:21 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2008 Guthrie CAD/GIS Software. All rights reserved.