Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Custom Property Details

Status
Not open for further replies.

MN5520

Industrial
Jan 30, 2005
36
Can anyone provide a list of all possible "Custom Property Names" and the corresponding "Values" that are available in SW2005.

I.E.

For the CP Name - PartNo, I use the Value "SW-File Name" so my file names and drawing part numbers stay the same.

others are:
"Thickness@part1.sldprt" Gives my extruded thickness
"SW-Mass@part1.sldprt" Gives the weight provided material is specified.

Is there a list of these in existance?

Thanks


 
Replies continue below

Recommended for you

In SW2004, the CPs are listed in the Help files under Custom, property values.
I don't have SW2005, but would assume they would be listed similarly.

[cheers] & all the best.
 
Since you can create your own custom properties, the list would be endless. I do not know how many can be created before you run out of allotted space.
 
I have looked in the help and have not found a list of the property values available.

I do understand that the "custom property" list is just that, custom and can be anything I define but there are certain values within solidworks that I can assign to the custom property such as (thickness, material, mass, density or "SW-File Name") that return a value automatically without having to do anything but model my part.

That "values" list is what I'm looking for.

Thanks for the input
 
MN5520,
In SolidWorks 2005, open a new part model. Click in the SolidWorks main menu “File, Properties, then Custom in the Summary Information, then in the upper right hand corner click “Edit List”.
Is this what you are looking for?


Bradley
 
I believe he's looking for a list of all the internal SolidWorks functions that you can use in custom properties - items such as calling the mass, density, volume, etc...

Pete
 
Yes. Thanks Pete.

Try this and see if it works for you.

Start a new part.
Select sheet metal.
Draw a rectangle on the top plane.
Extrude it to .125 thickness.
Hit the green check mark to accept & extrude.
Go to File, Properties, Custom.
Add a property name of Thickness, Type = text
For the "Value/Text Expression" use the pull down menu.
Does a selection for thickness appear? or does it start with Material then mass, density etc.?

If Thickness does not appear, close the pull down.
Manually type with the quote marks "Thickness"
Now use the pull down and does Thickness appear?
If so pick it.
Now the "value/Text Expresion" = "thickness@part1.SLDPRT"

Now the result is always tied to the material thickness so if I change it to .25 that value changes for me. When I create my Drawing from this part, I can use this value to prefill my titleblock by linking the custom property.

Its that list of hidden or internal solidworks functions I'm trying to find.

Brian
 
From SW2004 help: Linking Notes to Document 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


*The formats of the dates are language and region dependent. For details, see Start/Settings/Control Panel/Regional Settings/Date 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
total number of sheets in the active drawing document


Regards
 
Thank you all for the help.

I did find that in a sheet metal part there is a "Link to Thickness" function and that the custom property value of thickness seems to only be available for sheet metal parts.

Brian
 
For mass properties there's no list. But you can chack all of them, opening a part file, go to FILE/PROPERTIES/Custom. Clicl in the LINK TO VALUE field and select the desired mass property. On the left box you can see the property name.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor