We want to convert CGM file to HPGL file format(.hp) for my current project.
There is a DLL avaialbe in C:\Program Files\Siemens\NX 9.0\NXPLOT\bin\cgm2hpgl2.dll.
Whether this dll can help us to convert to cgm to hhpgl format?
How to use this cgm2hpgl2.dll?
Is there any siemens help documentation available for this dll usage?
Solved! Go to Solution.
you can use nxplot.exe (SDI-Plot tool) to convert the cgm file to hpgl.
%UGII_BASE_DIR%\NXPLOT\nxplot.exe -input=%CGMFILE% -group_dir=%UGII_SITE_DIR%\nxplot\config_hpgl -printer=HPGL -output=file.hpgl
You have to configure a hpgl Plotter. When you want to hide the plotter from normal plotting you can use a different group_dir. You find information in the NX help in topic system administration. Search "nxplot".
Plotters must be configured through SDI, there is no other way.
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX12.0 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
we are using the environment variable UGII_SDI_SERVER_CFG_DIR to point to a directory containing the plotter configuration. You find the default in %UGII_BASE_DIR%\NXPLOT\config\pm_server. This are all text files and can pe copied to other workstations or the directory stays on a fileserver.