×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

file path display
2

file path display

file path display

(OP)
At the very top of the Solid works screen (in a blue bar) it has the file name that is open shown, I my case it shows " SolidWorks Office Professional 2006 - [filename.sldprt]", its the area inside the square brackets that I am intersted in. Does anyone know how to have the file name include the complete name and path, ie: "c:\jobfiles\parts\partname.sldprt"

SW 2006 SP3.4
Dell Inc. Precision WorkStation 670
2048 Megabytes Installed Memory
NVIDIA Quadro FX 1400 [Display adapter]
Windows 2000 SP5

RE: file path display

I have to look it up. I have done it before, my VAR helped me once.

Chris
Systems Analyst, I.S.
SolidWorks/PDMWorks 05
AutoCAD 06
ctopher's home site (updated 06-21-05)
FAQ559-1100
FAQ559-716

RE: file path display

Chris

I would be interested in learning how to do that also.

Cheers,

Ralph Wright, CSWP
SolidWorks 2005, SP5.0
P4, 2.53Ghz
1.5 Gb RAM
ATI Fire GL8800 Card
Windows 2000 Pro

RE: file path display

Try File\Find references - Can't test here at a remote site today.

Regards,

Scott Baugh, CSWP
www.scottjbaugh.com
FAQ731-376

RE: file path display

(OP)
I know that you can see references from the file menu, but I would really like to have the entire path displayed on the display bar at the top of the screen as a default setting for every opened file.

SW 2006 SP4.0
Dell Inc. Precision WorkStation 670
2048 Megabytes Installed Memory
NVIDIA Quadro FX 1400 [Display adapter]
Windows 2000 SP5

RE: file path display

Quote:

At the very top of the Solid works screen (in a blue bar)

That's called the "Title Bar". The text it displays is a Windows option. Open Windows Explorer (or My Computer, or whatever it called). Go to the Tools menu and select Folder Options. Choose the View tab. Check the box next to "Display full path in titlebar".

Should be good to go now,
Ken

RE: file path display

That was my first thought, Ken, but that only works for Windows Explorer windows.  The only setting on that view tab that affects SW is the "Hide extensions for known file types" setting.

RE: file path display

handleman,

Are you sure about that? Every computer with Windows XP that I've set as described above, has given the results I described as well.

As for settings in Windows Explorer that could affect programs other than Windows Explorer...I know that if you check the box next to "Show hidden files and folders", that you will see all of those temp files that (windows?) creates with the ~ at the beginning of the filenames will show up everywhere (SW, M$ Word) that you have open files.

There are probably a couple more settings in Windows Explorer that will affect other programs too, but I haven't verified any others.

I always click the "Apply to All Folders" button too, but I don't know if that should matter or not.

Ken

RE: file path display

Ken,

I may spoken too quickly.  I have that option checked on my machine, but SW doesn't display the full path.  However, I may need to click that button to apply to all folders.  Sorry also for my sloppy post.  I meant to say "affects the SW title bar".  

RE: file path display

handleman,

Looks like I need to know what I'm talking about before I speak because now all I see in the SW title bar is the filename. I thought it used to display the entire path in SW as well, but it must only be within the Windows Explorer as you stated earlier.

Sorry for the confusion,
Ken

RE: file path display

(OP)
I just spoke with my VAR and they said no way unless I want to get into some visual basic programming, not going to happen. Rats - that would have been very helpful and offer some degee of peace of mind about the file I am working on.

SW 2006 SP4.0
Dell Inc. Precision WorkStation 670
2048 Megabytes Installed Memory
NVIDIA Quadro FX 1400 [Display adapter]
Windows 2000 SP5

RE: file path display

Exactly what are you trying to do.  Someone may be able to come up with some alternate solution.

SA

RE: file path display

(OP)
"SolidAir (Mechanical) 24 Apr 06 13:38  
Exactly what are you trying to do.  Someone may be able to come up with some alternate solution.

SA "

Does anyone know how to have the file name include the complete name and path, ie: "c:\jobfiles\parts\partname.sldprt"

SW 2006 SP4.0
Dell Inc. Precision WorkStation 670
2048 Megabytes Installed Memory
NVIDIA Quadro FX 1400 [Display adapter]
Windows 2000 SP5

RE: file path display

There is one way to display the entire path of the file your are working on.

The way to do it is:

1.Activate the web toolbar from View/Toolbars
2. Click "Open Internet Address" button and browse for the file you want to work on.

If you open the file in this way the entire path is displayed in the drop down box just next to the web toolbar.

Regards

RE: file path display

(OP)
Thanks that does work. Curiuos are there any issues in opening files this way as opposed to the regular way?

SW 2006 SP4.0
Dell Inc. Precision WorkStation 670
2048 Megabytes Installed Memory
NVIDIA Quadro FX 1400 [Display adapter]
Windows 2000 SP5

RE: file path display

The only problem (if you can call it ) is that after opening some files in the above mentioned way, the software remembers all the paths. Hence the address bar/ drop down box becomes cluttered. I have not yet found a way to clear the stored paths from the drop down box.


Regards

RE: file path display

I checked out the links posted by SnowCrash.  This seems on the surface to work only with Office apps.  SolidWorks has a GetTitle in the API, but the SetTitle2 only works on a new doc that has not yet been saved.  There may be some way to mess with the title bar through Windows API, but I don't know a whole lot about that.

If all you want to do is make sure the path of the file you're working on at a glance, you can set the status bar text pretty easily.  At SolidAir's suggestion (in another thread) I've been learning about class modules and using the event triggers in SW.  The macro at

http://quick.dropfiles.net/download.php?file=2832afb62ac51d59928a120be355f31c

when run will stay active for the current SW session and catch any change of active document in SW.  It will write the full path of the active document to a status bar pane.  Depending on how long your file paths are and other settings on your machine, the full path may be too long to display.  In the Class module "MyListeningClass" is a constant named "MAXLEN" with a value of 110.  Any path longer than this will have the middle cut out and replaced with "....." to reduce the total length of the string to MAXLEN (or MAXLEN-1, depending on even/odd).  You can adjust MAXLEN to a value that suits your system.

RE: file path display

This doesn't seem like something that would be doable in SW cuz of the way SW handles open documents.  It only allows one document in memory with a particular name, but that document isn't necessarily tied down to a path (since it can change during the session).

Maybe someone could create a macro that displays the current path in the Feature Tree?  GetPathName (instead of GetTitle) could be used to grab the whole path, then you can do whatever you want with the info in the macro. :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources