Welcome to the COE Discussion Forums! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


COE Community News

Follow COE on

COE DISCUSSION FORUM
CATIA VERSION CHECKER
Last Post 09 Sep 2009 09:20 AM by EMAGNETTO. 27 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 1 of 212 > >>
Author Messages
DAVECLARK
New Member
New Member
Posts:42

--
14 May 2009 09:51 AM  

Made a small program that detects catia version .

Just right click in windows explorer > check version and a form appears with the right version.

ADD CONTEXTMENU IN WINDOWSEXPLORER

COPY THIS EXE FILE INTO SPECIFIC FOLDER

 

EXAMPLE : C:\DOWNLOADS\CATIA_VERSION.EXE

OPEN EXPLORER > TOOLS > FOLDER OPTIONS > FILE TYPES

SELECT CATPART

ADVANCED>NEW

ACTION : CATIA VERSION

APPLICATION USED TO PERFORM ACTION : C:\DOWNLOADS\CATIA_VERSION.EXE

SAVE AND EXIT

INTO FILE EXPLORER RIGHT CLICK A CERTAIN CATPART

CLICK CATIA VERSION

CATIA VERSION WILL APPEAR IN WINDOW FORM

 

enjoy

exe file can be downloaded on following attachment

rename txt file in zip  ...

 

 

 

 

GSAUN
Basic Member
Basic Member
Posts:268

--
14 May 2009 11:03 AM  
Thanks Dave,

I received an error as a limited user. I'm guessing from the Java console that because I'm denied access to write on C:, the program wouldn't continue. Anyway to parse to a user's temp directory?

Base Error
Unhandled Exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the applilcation will close immediately.

Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'c:\checkversion.bat' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at testreg.Form1.Createbat()
at testreg.Form1.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
testreg
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/CATIA%20V5%20Version%20Checker%20-%20Dave%20Clark/CATIAVERSION.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Gary Saunders
DAVECLARK
New Member
New Member
Posts:42

--
15 May 2009 01:56 AM  

Have updated the program.

Copy the exe file in a directory where you must have write access!

Doesn't matter where you copy the file.

Very first time you opens the program necessary files are been created.

Then you never have to worry what happens it all works automatically.

Please have a look if your problem is solved now.

OS : windows xp

 

regards Dave

MCHITJIAN
Basic Member
Basic Member
Posts:343

--
15 May 2009 10:09 AM  

Here is another way to determine the version, release and service pack of a CATPart. A bit messy, but quick.

Keep in mind it will take awhile for large files.

Go to the directory where the CATPart is and right click on the CATPart and open with either Wordpad or Notepad.

Perform a "Find" on "minimalversiontoread".  No spaces.

You'll get the info as shown below.

 

Mark Chitjian
COE Manufacturing Division DPC Manager
COE Digital Manufacturing DPC Cochair
IBM PLM Tech Support Americas
Poughkeepsie, NY
cool1@us.ibm.com
DAVECLARK
New Member
New Member
Posts:42

--
15 May 2009 01:43 PM  

That's the way my program is working.

But works very fast.

right click on file and ....

MCHITJIAN
Basic Member
Basic Member
Posts:343

--
15 May 2009 02:11 PM  

Ok Dave, I'll check it out. Thanks.

Mark Chitjian
COE Manufacturing Division DPC Manager
COE Digital Manufacturing DPC Cochair
IBM PLM Tech Support Americas
Poughkeepsie, NY
cool1@us.ibm.com
KBRAND
New Member
New Member
Posts:77
Avatar

--
17 May 2009 08:19 PM  
Awesome program Dave. Is there anyway to get it to extract the service pack too?
Kyle Brand
University of Delaware
Center for Composite Materials
www.ccm.udel.edu
GSAUN
Basic Member
Basic Member
Posts:268

--
18 May 2009 07:39 AM  
That worked Dave. Nice program.
Gary Saunders
DAVECLARK
New Member
New Member
Posts:42

--
19 May 2009 12:32 PM  

Added servicepack, builtdate, hotfix number

1)RESULT :

Van copy
Van copy

2)INSTALLATION

Copy exe into folder (You must have write access in the folder!)

Open explorer

Van copy

click advanced

Van copy

new

Van copy
Van copy

And done

Now in explorer a contextmenu CATIA_VERSION is added when you rightclick on a catpart.

 

 

 

 

 

 

GSAUN
Basic Member
Basic Member
Posts:268

--
20 May 2009 08:15 AM  
Nice job Dave. Great program.
Gary Saunders
KBRAND
New Member
New Member
Posts:77
Avatar

--
20 May 2009 08:57 AM  
Awesome tool. Very useful especially in our work environment were we have many different releases.
Kyle Brand
University of Delaware
Center for Composite Materials
www.ccm.udel.edu
ydoering
New Member
New Member
Posts:5

--
20 May 2009 08:57 AM  

yes, great job Dave.

I was wondering, if it would be possible to create/support also a handy portable version.

-> start the application and drag&drop files (CATparts) on the GUI ?

DAVECLARK
New Member
New Member
Posts:42

--
20 May 2009 04:03 PM  

ydoering,

What exactly you wanna see on that GUI?

a Form where you can see in a datagrid all files you drag/drop (or rightclick) with Release/sp/...

Can you please explain more what you wanna see on the form? Then I'll have a look to built the program. (if it's not to difficult :p )

regards Dave

JAMES2703
New Member
New Member
Posts:18
Avatar

--
21 May 2009 08:33 AM  

Dave, I like the program. Thanks. One question though, I am using Vista 64 and instead of the menu pick being "Catia Version" is shows up as "testreg". This appears to be the Description/Product name in the file properties. Can this be changed?

DAVECLARK
New Member
New Member
Posts:42

--
21 May 2009 02:19 PM  

James,

Now should be CATIA_VERSION in stead of testreg.

if not please let me know

 

SAMARINDER
Advanced Member
Advanced Member
Posts:693

--
21 May 2009 02:34 PM  

Thanks for this program. I just tested it and vista64bit shows as "testreg" and I dont mind it.

Samarinder

Samarinder Singh
CUTPATHCNC
PHILHARRISON
Basic Member
Basic Member
Posts:203
Avatar

--
26 May 2009 04:23 PM  
fyi there has been a program in the shareware library with similar functionality called "Which_Version"
phalakatti
New Member
New Member
Posts:2

--
16 Jun 2009 10:52 PM  
Its good solution.
previously I am checking it by open with notead and search by CATIAV5.

thanks for your information
butolyun
New Member
New Member
Posts:52

--
19 Jun 2009 06:52 AM  
Good job Dave, I am using it thank you.
HICHAM11
New Member
New Member
Posts:3

--
22 Jun 2009 02:56 PM  
Hi

Another way to check CATIA version of the part. If you have the part opened in Catia, just go to Desk and right click on it, then go to properties and you will see the version, release and service pack.

Thanks

You are not authorized to post a reply.
Page 1 of 212 > >>


Active Forums 4.1