New column for Pro-E file types.

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
d.phil.007
Junior Member
Junior Member
Posts: 2
Joined: 2009-12-21, 20:34 UTC

New column for Pro-E file types.

Post by *d.phil.007 »

Is it possible to add a custom column for file type of a Pro-E file?

Pro-E uses this awkward format to keep track of versions with all of the files:

An example: part1.prt.1

"part1" is the name, "prt" indicates a model, and "1" is the first save (version)

TC lists this Pro-E file as file: part1.prt and extension: 1

I would like to add a new column for file type:

Name: part1 Type: prt Ext: 1

Thank you.
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

You can try the script content plugin using this simple script as a quick and dirty solution

Code: Select all

'ProEType.vbs by tbeu

'Script for Script Content Plugin (c)Lev Freidin, 2005
'http://www.totalcmd.net/plugring/script_wdx.html
'http://wincmd.ru/plugring/script_wdx.html

'This script returns the Pro/E type of a file

fileNameArray = Split(filename, ".")
content = fileNameArray(UBound(fileNameArray) - 1)
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
d.phil.007
Junior Member
Junior Member
Posts: 2
Joined: 2009-12-21, 20:34 UTC

Post by *d.phil.007 »

Thank you for the reply. I have not been successful getting this to work. Should I cut and paste the "Code" into the ini file? Is there any additional editing required in the ini file? How do I enable this custom column?

Thank you for the help.
Post Reply