Quantcast
Channel: PTC Community : All Content - Arbortext
Viewing all articles
Browse latest Browse all 1645

Macro to export CGM

$
0
0

Hello everyone.

 

I am very new to IsoDraw, using v7.3, and I have a small issue.

 

I want to convert .CGM file to its clear text encoding. I know my input file is encoded in binary and I want to use a command line to convert it to clear text encoding. There are a few things I don't understand :

- What should be the command like ? For now I've been trying to change many subtleties but nothing seems to work.

I always start with this : [path_to_isodraw.exe]\IsoDraw73.exe -s"path_to_source_file" -d"path_to_destination_file" . Then I try to use a simple macro with this only command "Export "path_to_cgm" "CGM". I checked in the preference file for my specific parameters and it seems ok. This macro is saved in my C:\User\myname\AppData\Roaming\ptc\Isodraw\Macro so I add this to my command line, giving this :

[path_to_isodraw.exe]\IsoDraw73.exe -s"path_to_source_file.cgm" -d"path_to_destination_file.cgm" -m"C:\C:\User\myname\AppData\Roaming\ptc\Isodraw\Macro\convertCGM.ism".


Now others questions I have are the following :

- There is a destination file in the command line and another one in the export line of the macro. Doesn't this create a conflict ? To make things simpler, I use the same path but.. still.

- I know there's a -f10 command line option that allows to convert in CGM. How does it precisely work ? Does it conflicts with the export command of the macro ?

- This command worked once on a test file. I tried it again on another file and I could'nt make it work again. Am I missing something ?

- Imagine I want to specify my Export "CGM" command. Let's say one to convert into binary and the other to convert into clear text. Is this possible ? I tried to do some changes in the preference file (changing CGM to CGMBinary and adding CGMText) but this doesn't seem to work. I guess we can't add new commands ? Are we supposed to change the parameters each time ?


That's it for now, thank you in advance for any help. I've looked around the forums, guides and help but couldn't find anything useful, so any help is appreciated


Viewing all articles
Browse latest Browse all 1645

Trending Articles