PDA

View Full Version : Required DLL and csz file?


cjwere
16-06-2010, 11:57 AM
Hi have just got the dwgconvert.dll up and running and all is well, however it returns an error code despite successfully converting to a release 14 DWG from a release 14 DXF, if unzip32.dll or stdfonts.csz are not present:

-53 Missing unzip32.dll (should be in the same folder as dwgconvert.dll)

-54 Missing stdfonts.csz (should be in the same folder as dwgconvert.dll)


Is it OK to distribute these with the dwgconvert.dll, and if not can i safely trap and ignore these error codes?

Additionally, I note its created a Dimstyle.sty file in the same folder as the dll, which may be problematic under vista/win7 with UAC, so can i use the init_dwgconvert with flag 2 to set the "ini" folder, and will that redirect sty creation? I guess i can test that ...

Thanks,
Chris

GuthCAD Software Support
18-06-2010, 07:58 PM
Hi,

Yes, unzip32.dll and stdfonts.csz are intended for distribution.

Note that unzip32.dll and stdfonts.csz are only needed for decomposing shx text to polylines, and for checking that text has the correct alignment in DXF files. If these are not requirements for your application then they may be omitted. The -53 and -54 error messages may be stopped by adding a couple of entries to the DWGCONV.INI file as follows:

[Settings]
IgnoreExplodeSHX=1
RecalcDxfTextAlignment=0

For details refer to the dwgConvert User Manual:
Configuration File
-> DXF/DWG configuration settings

Alternatively dwgConvert's entity filter parameter may be used to exclude
text from the translation and that will also stop the error messages.

/XENTS=7

For further details refer to the dwgConvert User Manual:
Operation
-> Command Line dwgConvert
-> Switches Reference by Function
-> Entity Filter


regards,
Software Support