What is the most efficient way to see where a file is saved?

Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

What is the most efficient way to see where a file is saved?

Unread post by Mike Gera »

In an assembly, what is the most efficient way to see the save location of an assembly or part in the feature tree?

Currently, I open the assembly or part, then do a "Save As". I feel like there must be a better way.

Thanks.
by AlexLachance » Thu Oct 27, 2022 2:06 pm
Right click on it and go to "component properties
image.png
image.png

This also can do:
image.png
Go to full post
SW 2022 SP 5.0
Windows 11
User avatar
AlexLachance
Posts: 2044
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2197
x 1900

Re: What is the most efficient way to see where a file is saved?

Unread post by AlexLachance »

Right click on it and go to "component properties
image.png
image.png

This also can do:
image.png
User avatar
Glenn Schroeder
Posts: 1461
Joined: Mon Mar 08, 2021 11:43 am
Answers: 22
Location: southeast Texas
x 1657
x 2060

Re: What is the most efficient way to see where a file is saved?

Unread post by Glenn Schroeder »

Click on the file name in the tree. Select the "Component Properties" icon. The file path will be in the dialog box that pops up.

image.png

image.png
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: What is the most efficient way to see where a file is saved?

Unread post by Mike Gera »

Thanks!
SW 2022 SP 5.0
Windows 11
User avatar
SPerman
Posts: 1888
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 13
x 2064
x 1722
Contact:

Re: What is the most efficient way to see where a file is saved?

Unread post by SPerman »

Is there any way to make use of this outside of a drawing?

https://help.solidworks.com/2022/englis ... erties.htm
image.png
I was too slow.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
CT-Simo
Posts: 19
Joined: Mon Oct 24, 2022 11:17 am
Answers: 0
x 7
x 18

Re: What is the most efficient way to see where a file is saved?

Unread post by CT-Simo »

Component Properties, as was already suggested. If you want to overview paths of all components, Pack & Go is pretty good that.

Anything further for that, I often setup special CUSTOMTOOLS Export profile for my customers just so that to get an overview of the whole assembly and whatever Custom Properties (or other special fields) are important for them. That can also be exported to Excel with component previews, but often just visiting the Export windows gives very important instant feedback for the designer.
Attachments
Structure Overview.png
Product Manager, CUSTOMTOOLS for SOLIDWORKS
Over decade of experience around SW, PDM, and related ERP integrations.
Tech-oriented; once a programmer, always a programmer.

https://www.customtools.info/
https://www.youtube.com/user/CustomTools4SW/
Anzu
Posts: 1
Joined: Fri Oct 28, 2022 6:43 am
Answers: 0

Re: What is the most efficient way to see where a file is saved?

Unread post by Anzu »

User avatar
AlexLachance
Posts: 2044
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2197
x 1900

Re: What is the most efficient way to see where a file is saved?

Unread post by AlexLachance »

CT-Simo wrote: Fri Oct 28, 2022 3:42 am Component Properties, as was already suggested. If you want to overview paths of all components, Pack & Go is pretty good that.

Anything further for that, I often setup special CUSTOMTOOLS Export profile for my customers just so that to get an overview of the whole assembly and whatever Custom Properties (or other special fields) are important for them. That can also be exported to Excel with component previews, but often just visiting the Export windows gives very important instant feedback for the designer.
Hey Simo,

Could it be possible to export in excel and then import back? That would be sweet!
User avatar
CT-Simo
Posts: 19
Joined: Mon Oct 24, 2022 11:17 am
Answers: 0
x 7
x 18

Re: What is the most efficient way to see where a file is saved?

Unread post by CT-Simo »

AlexLachance wrote: Fri Oct 28, 2022 8:26 am Hey Simo,

Could it be possible to export in excel and then import back? That would be sweet!
Yes ;)

Product Manager, CUSTOMTOOLS for SOLIDWORKS
Over decade of experience around SW, PDM, and related ERP integrations.
Tech-oriented; once a programmer, always a programmer.

https://www.customtools.info/
https://www.youtube.com/user/CustomTools4SW/
User avatar
Stefan Sterk
Posts: 31
Joined: Tue Aug 10, 2021 2:40 am
Answers: 2
x 49
x 62

Re: What is the most efficient way to see where a file is saved?

Unread post by Stefan Sterk »

I got this macro (Code below) that opens the file location in the Windows Explorer for the selected component.

Code: Select all

Option Explicit
Sub main()
    
    Dim swApp       As SldWorks.SldWorks
    Dim swModel     As SldWorks.ModelDoc2
    Dim swSelMgr    As SldWorks.SelectionMgr
    Dim swComponent As SldWorks.Component2
    Dim Path        As String
    
    Set swApp = Application.SldWorks
    Set swModel = swApp.ActiveDoc
    
    If swModel Is Nothing Then Exit Sub
    
    ' Get the selected component feature or entity
    Set swSelMgr = swModel.SelectionManager
    Set swComponent = swSelMgr.GetSelectedObjectsComponent4(1, -1)
    
    If Not swComponent Is Nothing Then
        Path = swComponent.GetPathName
    Else
        Path = swModel.GetPathName
    End If
    
    Shell "C:\Windows\explorer.exe /select," & Path, vbMaximizedFocus
    
End Sub
User avatar
DanPihlaja
Posts: 766
Joined: Thu Mar 11, 2021 9:33 am
Answers: 24
Location: Traverse City, MI
x 757
x 910

Re: What is the most efficient way to see where a file is saved?

Unread post by DanPihlaja »

For a part or assembly that you have open, do this:
Tap R to bring up recent documents
image.png
Then select "show in folder" for that document.
image.png
It won't work for components of assemblies unless you open them separately.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
Ronan
Posts: 25
Joined: Wed Jul 28, 2021 7:00 am
Answers: 0
Location: UK
x 31
x 5

Re: What is the most efficient way to see where a file is saved?

Unread post by Ronan »

Before we used a PDM system, I used to click on Save As and the save dialogue would bring up the folder the model was stored in.
Ideas are simple, once you've thought of them
Post Reply