CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Drafting
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-25-2012, 03:47 AM
Maximus172 Maximus172 is offline
Registered User
 
Join Date: May 2007
Location: France
Posts: 52
Error conversion Mi to Dwg

Hi,

I have a macro doing conversion from Mi to Dwg.
It's running, but sometimes, there is an error message ("consersion problem... see log file") and the macro stop.

Is it possible to disable this error message, ? Is it possible that the macro continuous the conversion?

Thanks
Reply With Quote
  #2  
Old 07-25-2012, 10:21 PM
Shaba's Avatar
Shaba Shaba is offline
Registered User
 
Join Date: Nov 2006
Location: Italy
Posts: 215
Re: Error conversion Mi to Dwg

Can you post a log file?
Reply With Quote
  #3  
Old 07-25-2012, 11:01 PM
Maximus172 Maximus172 is offline
Registered User
 
Join Date: May 2007
Location: France
Posts: 52
Re: Error conversion Mi to Dwg

Quote:
MI to DWG translation log file
CoCreate DXF/DWG Translator Release 17.0 (build 789.24)
dxfdwg
-------------------------------------------------------
SourceDirPath ./
DestinDirPath ./
KanjiTranslate OFF
EnableLegacyEncoding OFF
RecordByLayerInfo OFF
CustomUnits ON
Units mm
UnitsScale 1
ConvertMIDimensionsToGeometry OFF
ExplodeDXFDimensions OFF
KeepAttributesWithPart OFF
StartSection DXF to MI Translator
InternalHandseed
PolymarkerType 2
OutputACADVersion AC1018
DXFDecimalPrecision 14
ReadAllLayoutData OFF
TranslatePaperspace OFF
LayoutName
TranslateDXFPenLineSize 3
TranslateInvisibleLayers ON
TranslateDXFInvisibleEntities OFF
TranslateMIInvisibleEntities OFF
TranslateSubfixDimProp ON
TranslateSuperfixDimProp ON
ContourSnapGap 1e-012
HatchCloseContours ON
KeepTopScale OFF
TranslateMIPenLineSize 1
HighSplinePrecision OFF
HatchToContours OFF
CreateSplineFitPoints ON
SplineControlPointTranslation OFF
SVGDarkBackground ON
MinimumHatchSpacingDensity 0
FontFilesPath ./
FontMapACADtoMI "ARIAL.TTF" "arial" "hp_kanj2_c" 1.2 1.666
FontMapACADtoMI "ARIALBD.TTF" "arial" "osd_default" 1.2 1.666
FontMapACADtoMI "ARIALUNI.TTF" "arial_unicode_ms" "arial_unicode_ms" 1.2 1.666
FontMapACADtoMI "complex.shx" "hp_block_v" "hp_kanj2_c" 0.95 1.666
FontMapACADtoMI "COUR.TTF" "courier_new" "hp_kanj2_c" 0.75 1.666
FontMapACADtoMI "italic.shx" "hp_jasc_v" "hp_kanj2_c" 1.15 1.666
FontMapACADtoMI "simplex.shx" "osd_default3" "osd_default3" 0.95 1.666
FontMapACADtoMI "tahoma.ttf" "tahoma" "hp_kanj2_c" 1.25 1.666
FontMapACADtoMI "TIMES.TTF" "times_new_roman" "hp_kanj2_c" 1.03 1.666
FontMapACADtoMI "txt.shx" "osd_default" "osd_default" 0.9 1.666
FontMapMItoACAD "arial" "ARIAL.TTF" 1.2 "" 0
FontMapMItoACAD "arial_unicode_ms" "ARIALUNI.TTF" 1.2 "" 0
FontMapMItoACAD "courier_new" "COUR.TTF" 0.75 "" 0
FontMapMItoACAD "hp_block_c" "complex.shx" 1.39 "" 0
FontMapMItoACAD "hp_block_v" "complex.shx" 0.95 "" 0
FontMapMItoACAD "hp_d17_c" "simplex.shx" 1.24 "" 0
FontMapMItoACAD "hp_d17_v" "simplex.shx" 0.95 "" 0
FontMapMItoACAD "hp_i3098_c" "txt.shx" 1.07 "" 0
FontMapMItoACAD "hp_i3098_v" "txt.shx" 0.9 "" 0
FontMapMItoACAD "hp_jasc_c" "italic.shx" 1.24 "" 0
FontMapMItoACAD "hp_jasc_v" "italic.shx" 1.15 "" 0
FontMapMItoACAD "isocp" "isocp___.ttf" 0.77 "" 0
FontMapMItoACAD "osd_default" "txt.shx" 0.9 "" 0
FontMapMItoACAD "osd_default2" "txt.shx" 1.07 "" 0
FontMapMItoACAD "osd_default3" "simplex.shx" 0.95 "" 0
FontMapMItoACAD "tahoma" "tahoma.ttf" 1.25 "" 0
FontMapMItoACAD "times_new_roman" "TIMES.TTF" 1.03 "" 0
FontMapMI2toACAD "hp_kanj2_c" "msmincho.ttc" 0.89 "MS Mincho" 32785
FontMapMI2toACAD "hp_kanji_c" "msmincho.ttc" 0.89 "MS Mincho" 32785
ArrowMapACADtoMI " " Arrow 1 ON
ArrowMapACADtoMI "_ARCHTICK" Slash 1 OFF
ArrowMapACADtoMI "_BOXBLANK" Arrow 1 OFF
ArrowMapACADtoMI "_BOXFILLED" Arrow 1 ON
ArrowMapACADtoMI "_CLOSED" Arrow 1 OFF
ArrowMapACADtoMI "_CLOSEDBLANK" Arrow 1 OFF
ArrowMapACADtoMI "_DATUMBLANK" Triangle 1 OFF
ArrowMapACADtoMI "_DATUMFILLED" Triangle 1 ON
ArrowMapACADtoMI "_DOT" Dot 1 ON
ArrowMapACADtoMI "_DOTBLANK" Dot 1 OFF
ArrowMapACADtoMI "_DOTSMALL" Dot 0.5 ON
ArrowMapACADtoMI "_INTEGRAL" Slash 1 ON
ArrowMapACADtoMI "_NONE" NoArrow 1 ON
ArrowMapACADtoMI "_OBLIQUE" Slash 1 OFF
ArrowMapACADtoMI "_OPEN" Jis 1 ON
ArrowMapACADtoMI "_OPEN30" Jis 1 OFF
ArrowMapACADtoMI "_OPEN90" Jis 1 ON
ArrowMapACADtoMI "_ORIGIN" Dot 1 OFF
ArrowMapMItoACAD NoArrow OFF "_NONE" 1
ArrowMapMItoACAD NoArrow ON "_NONE" 1
ArrowMapMItoACAD Arrow OFF "_CLOSED" 1
ArrowMapMItoACAD Arrow ON " " 1
ArrowMapMItoACAD Dot OFF "_ORIGIN" 1
ArrowMapMItoACAD Dot ON "_DOT" 1
ArrowMapMItoACAD Slash OFF "_OBLIQUE" 1
ArrowMapMItoACAD Slash ON "_OBLIQUE" 1
ArrowMapMItoACAD Triangle OFF "_DATUMBLANK" 1
ArrowMapMItoACAD Triangle ON "_DATUMFILLED" 1
ArrowMapMItoACAD Jis OFF "_OPEN30" 1
ArrowMapMItoACAD Jis ON "_OPEN30" 1
LinetypeMapACADtoMI "CENTER_DASH_DASH" CenterDashDash
LinetypeMapACADtoMI "CONTINUOUS" Solid
LinetypeMapACADtoMI "DASHED" Dashed
LinetypeMapACADtoMI "DASH_CENTER" DashCenter
LinetypeMapACADtoMI "DOTTED" Dotted
LinetypeMapACADtoMI "DOT_CENTER" DotCenter
LinetypeMapACADtoMI "LONG_DASHED" LongDashed
LinetypeMapACADtoMI "PHANTOM" Phantom
-------------------------------------------------
Warning: Arc 13411 (Center point was adjusted to fit the boundaries)
Warning: Arc 13412 (Center point was adjusted to fit the boundaries)
Warning: Arc 13413 (Center point was adjusted to fit the boundaries)
Warning: Arc 13414 (Center point was adjusted to fit the boundaries)
Warning: Arc 13415 (Center point was adjusted to fit the boundaries)
Warning: Arc 13416 (Center point was adjusted to fit the boundaries)
Some problems encountered during translation.
Thanks for your help
Reply With Quote
  #4  
Old 07-27-2012, 04:36 AM
ldavis@tensorengr.co ldavis@tensorengr.co is offline
Registered User
 
Join Date: Mar 2009
Location: Florida
Posts: 7
Re: Error conversion Mi to Dwg

Try TRAP_ERROR and CHECK_ERROR.
TRAP_ERROR will trap a system error which otherwise would cause a program termination.
CHECK_ERROR kicks out a 0 = no error OR 1 = error. Calling CHECK_ERROR resets the TRAP_ERROR toggle back to 0.

If you don't care an error occured just call on CHECK_ERROR to reset the toggle or assign CHECK_ERROR to variable or use it in a conditional statement to check and see if an error occured and give feedback.

A quick and dirty example:

DEFINE Something
TRAP_ERROR

< do something >

{ use this when you don't care if an error }
{ occured and you just want to continue }
CHECK_ERROR
or
{ assign to a variable }
LET A (CHECK_ERROR)
or
{ use when you care an error occured and }
{ you want to do something else }
IF (CHECK_ERROR = 1)
DISPLAY 'ERROR OCCURED'
ELSE { if check_error produce a 0 code }
DISPLAY 'NO ERROR OCCURED'
END_IF

END_DEFINE

Hope this helps.
Reply With Quote
  #5  
Old 07-30-2012, 12:31 AM
Maximus172 Maximus172 is offline
Registered User
 
Join Date: May 2007
Location: France
Posts: 52
Re: Error conversion Mi to Dwg

Thanks for your help. It's ok.
No more error during conversion.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 Off

Forum Jump


All times are GMT -8. The time now is 12:20 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
You Rated this Thread: