Column displaying Solidworks Last Saved With

Solidworks is one of the most famous 3D CAD softewares.
When I install Solidworks, it adds a column to the list of hidden columns in Windows explorer. I can right click and add it to the list of visible columns. Then I have this:
10

The problem is I hate Windows Explorer and work only with Directory Opus. And I can not find this column in the list of hidden columns in Opus. The nearest column I found was "Product Version", but it shows empty for the same file, same folder as above image:

Have I simply missed the column and it's in the long list in Opus?
How can I find and add "SW Last saved with" column and add it to Opus.

Thanks for any kind of advice.

You'll probably need to add this as a custom column.

https://resource.dopus.com/t/quickly-find-shell-property-names/28362

If it's not a shell column, run PrintMeta on the files to dig a bit deeper.

https://resource.dopus.com/t/printmeta-write-metadata-to-text-files/42786

@lxp Thanks for trying to help. But not everyone is a programmer.
Following your first link, I added a button, paste the code, ran it. In the inputbox I typed the column name I'm looking for and Opud showed me this

--- 1 column matching SW Last Saved With ---
Solidworks.Document.LastSavedWith = SW Last saved with

Well, how can I add it to Opus? I found the following link that explains how to add a column. But it's for dwg and I'm not sure which parameters should be changed to make it work with solidworks.

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Scripting/Adding_a_new_Column_from_Shell_Properties.htm

Isn't a generic simple-to-understand solution around?
Thanks again.

In the example you linked to, change "dwg.*" to "Solidworks.Document.LastSavedWith".

That's the only change you need to make, but you'll probably also want to change the column name and description, both near the top.

(We'll be making this much easier in the future.)

I don't know why, But I feel like being stupid. I can't even follow a given solution.
I copied the script into a new button, changed the mentioned parameters and ran it. No error.
Restarted Opus. But still I can't see the column in the list.
Even searching for "Solidworks" or "SW" shows a blank list. Nothing found.

2

This is an exact copy/paste of what I have.

Function OnInit(initData)
initData.name = "SolidWorks Columns"
initData.desc = "Adds SW Columns"
initData.copyright = "(c) 2016 jpotter"
initData.version = "1.0"
initData.default_enable = true
initData.min_version = "12.0.8"
Dim props, prop, col
Set props = DOpus.FSUtil.GetShellPropertyList("Solidworks.Document.LastSavedWith", "r")
for each prop in props
Set col = initData.AddColumn
col.name = prop.raw_name
col.method = "OnDWGColumn"
col.label = prop.display_name
col.justify = "left"
col.autogroup = true
col.userdata = prop.pkey
next
End Function
Function OnDWGColumn(scriptColData)
scriptColData.value = scriptColData.item.shellprop(scriptColData.userdata)
End Function

Any kind of further advice is much appreciated.

The script doesn't go into a button.

Some examples of similar scripts, with instructions on how to set them up:

1 Like

Thanks. I'll take a look.
Looking forward to a version that simplifies this.

@Leo
Thanks for the quick response.
problem solved.

1 Like

Thanks for this post. I'm about to try this myself as its frustrated me for years not being able to simply select the column to show in DO when its right there is Windows Explorer! (and only found this post just now).

Any update news for this? i'd love this as i have another CAD program that has the same issue and i'd love it to be as easy as selecting properties like within Everything Search (see screenshot).