Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where do I find "SW-File Name" and other properties

Status
Not open for further replies.

jacek0841

Mechanical
Aug 31, 2005
227

I am reading Help - Linking Notes to Document Properties.

You can link a note to the properties of the model shown in the drawing (the SW-File Name property, for example, or a user-defined custom property in the model document).

The SW-File Name property exists and when I write in a note $PRP:"SW-File Name" it correctly displays the file name under which the dwg has been saved.

My question is: Where do I find the list of those "standard" SW properties ? When I pull down "File" -> "Properties" there is nothing like that either in "Property Name" nor in "Value/Text Expression".

Yet misteriously (at least to me) that "SW-File Name" (and probably others) exist somewhere.
 
Replies continue below

Recommended for you

Search in the help for properties.

Property Name
Value

SW-Author
Author field in Summary Information dialog box

SW-Comments
Comments field in Summary Information dialog box

SW-Configuration Name
Configuration name in ConfigurationManager of part or assembly

SW-Created Date *
Created field in Summary Information dialog box

SW-File Name
document name, no extension

SW-Folder Name
document folder with backslash at the end

SW-Keywords
Keywords field in Summary Information dialog box

SW-Last Saved By
Last Saved By field in Summary Information dialog box

SW-Last Saved Date *
Last Saved field in Summary Information dialog box

SW-Long Date *
current date in long format

SW-Short Date *
current date in short format

SW-Subject
Subject field in Summary Information dialog box

SW-Title
Title field in Summary Information dialog box


* Properties that include date formats are language and region dependent. For details, see the Control Panel settings on your computer.

Additionally, drawings have the following system-defined properties:

Property Name
Value

SW-Current Sheet
sheet number of the active sheet

SW-Sheet Format Size
sheet size of the active sheet format

SW-Sheet Name
name of the active sheet

SW-Sheet Scale
scale of the active sheet

SW-Template Size
template size of the drawing template

SW-Total Sheets

Flores
SW2006 SP1.0
 
Do a search in the help menu for "SW-"
Also search for "Summary of Design Table Parameters"

The help menu is a wonderful thing...



Windows 2000 Professional / Microsoft Intellimouse Explorer
SolidWorks 2006 SP01.0 / SpaceBall 4000 FLX
Diet Coke with Lime / Dark Chocolate
Lava Lamp
 
Create/Edit a note, in the Property Mananger, there is an icon in the middle with a chain link which will lead you to the properties dialogue. From there you can link to properties in the drawing file(current), or to the attached model file. You should see the file properties and Solidworks properties you can link to.

Jason

UG NX2.02.2 on Win2000 SP3
SolidWorks 2005 SP5.0 on WinXP SP2
SolidWorks 2006 SP1.0 on WinXP SP2
 
Thanks for all the replies – FANTASTIC !!

Now, the “SW-Created Date” produces date AND the time (to a second). Nothing wrong with that, in fact in many situations the time “stamp” is desirable.

But if I would like to have JUST THE DATE when the dwg was FIRST CREATED, the time stamp becomes a nuisance.

Is there a way to “blank off” or “cover up” the display of hr:min:sec on a dwg sheet ??

I can not use the “SW-Long Date” nor the “SW-Short Date” because as I know it keeps on changing. Unless of course there was a way to somehow “capture” the “SW-Long Date”/“SW-Short Date” and then “freeze” it.
 
No way to capture the creation date, though it could done through a macro and then assigned to a property. Then you link the note to that property.

There are several custom property programs floating around. see links below for macros, etc.


Jason

UG NX2.02.2 on Win2000 SP3
SolidWorks 2005 SP5.0 on WinXP SP2
SolidWorks 2006 SP1.0 on WinXP SP2
 
We use "PropertyEditorSpec" from because it is the only FREE property tool that lets you easily add "Configuration Specific" properties. All of our properties are Configuration Specific, just in case we have to add a configuration later. We had the same problem with the creation date, so we added a custom property called "Modeled Date" that is used on the drawing.

Flores
SW06 SP1.0
 
You could have used the Configuration Specific's pre-existing, DrawnDate or DateCompleted properties.

[cheers]
Helpful SW websites faq559-520
How to get answers to your SW questions faq559-1091
 
You could have used the Configuration Specific's pre-existing, DrawnDate

I believe, the above is "manual". What I wanted is to be "automatic"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor