Open CATIA v4 files from UNIX on v4 on Windows using external project files

Posted on 2012-08-29
Last Modified: 2012-08-29
I'm attempting to open CATIA v4 models (which are on AIX 4.3 systems) on CATIA v5 (running on a Windows XP system). When I do, I get the following message:

No Internal or External PRJ file
No visualization of texts and dimensions.
Please inform the v4 Project File path in Tools/Options.

I've located the *.project files on the AIX system and copied them over to the Windows system and pointed PROJECT File Path to the project files location. However, I still get the warning message and I do not see any of the dimensions and notes.

Any ideas?

Thanks a lot.
Question by:mcjim2k
    LVL 12

    Accepted Solution


    Author Comment

    Using the above information I was able to get models to open up with all of the texts and dimensions. The key issue here was replacing special characters in the project file names so that windows could properly read them. Plus you needed a table that showed which characters were replaced with which new characters.

    Below is a script I wrote to replace the characters:
    cd $dir
    echo 'Renaming files in'
    echo $dir
    for i in $(ls -a) 
    if [[ $i != "." && $i != ".." ]];then
    	fname=`echo $fname | sed "s/\"/_Inch/g"`
            fname=`echo $fname | sed "s/\*/\x/g"`
            fname=`echo $fname | sed "s/\±/\_/g"`
            fname=`echo $fname | sed "s/\//\_/g"`
            fname=`echo $fname | sed "s/\:/\_/g"`
            fname=`echo $fname | sed "s/\</\_/g"`
            fname=`echo $fname | sed "s/\>/\_/g"`
            fname=`echo $fname | sed "s/\?/\_/g"`
            fname=`echo $fname | tr '\\' '_'`
            fname=`echo $fname | sed "s/\|/\_/g"`
    	echo `echo $orgname | head -c 20` ' ... ' `echo $orgname | tail -c -20` 
    	mv $orgname $fname
    echo 'Done renaming files for windows compatability.'

    Open in new window

    I then moved these files on to my windows machine and referenced the folder in:
    Tools>Options, Compatability > v4 Data Reading tab, PROJECT File Path.

    You then need to create the character mapping table:
    0x22	"	_Inch	42
    0x2a	*	x	52
    0xB1	±	_	261
    0x2f	/	_	57
    0x3a	:	_	72
    0x3c	<	_	74
    0x3e	>	_	76
    0x3f	?	_	77
    0x5c	\	_	134
    0x7c	|	_	174

    Open in new window

    And reference that at:
    Tools>Options, Compatability > v4 Data Reading tab, Characters Equivalence Table Path

    Once that was done, i re-opened the v4 model in v5 and it said there was a conflict with project files, which is fine, just select YES because you want to use the external project files.

    And now the text and dimensions should show up.

    Hopefully this helps others.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Our company has proprietary drawing files that we do not give to our customers for final documentation. Our customers now require that we give them these drawings. They understand that they are proprietary and do not require them to be in AutoCAD bu…
    If, like me, you find yourself repeatedly and tediously joining many segments (lines, arcs) in other people's drawings back into polylines that can be used more effectively in Computer Aided Machining and Laser Cutting, then this article is for you!…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now