$DESCRIPTION in SW2006 ??
$DESCRIPTION in SW2006 ??
(OP)
Hi,
Any way to use the design table to populate the properties of the configuration (configuration properties ... not the custom properties)? I tried using $DESCRIPTION but it did not work. It gave me a "Column heading $DESCRIPTION contains invalid keyword .. " error. I can load the comment field below it with $COMMENT but I don't seem to be able to load the description field above it. I know how to load the custom property with $PRP@Description.
I don't see $Description in the help for 2006 but it does seem to be in the help for later versions. Is there another way to load the field in 2006?
thanks!
Any way to use the design table to populate the properties of the configuration (configuration properties ... not the custom properties)? I tried using $DESCRIPTION but it did not work. It gave me a "Column heading $DESCRIPTION contains invalid keyword .. " error. I can load the comment field below it with $COMMENT but I don't seem to be able to load the description field above it. I know how to load the custom property with $PRP@Description.
I don't see $Description in the help for 2006 but it does seem to be in the help for later versions. Is there another way to load the field in 2006?
thanks!






RE: $DESCRIPTION in SW2006 ??
1. Make several different configurations, differing on the values, suppression states, and other fields (such as descriptions) you want to be in the DT.
2. Create/Edit the DT and select the new fields to be included in the DT.
Then it is a simple matter to copy rows to create new configs and change the values as needed.
- - -Updraft
RE: $DESCRIPTION in SW2006 ??
Hi Updraft ....
I am ok with getting fields into the design table in general ... I just can't seem to figure out what the column header needs to be in order to fill out the description field.
I just tried putting in a few configurations and filling in the description field and comments manually. Then doing an insert ... design table and using Auto Create. It brought in the comment field and and, of course, the configuration name, but did not bring in the description.
I am beginning to think that maybe it got fixed/added in later versions ...
RE: $DESCRIPTION in SW2006 ??
Deepak Gupta
SW 2009 SP4.1 & 2007 SP5.0
MathCAD 14.0
Boxer's Blog
RE: $DESCRIPTION in SW2006 ??
Double-check the spelling in the DT header.
Take note that if you manually add a second $DESCRIPTION column, the one nearest the RH side will be the one which drives the Config properties.
RE: $DESCRIPTION in SW2006 ??
CorBlimeyLimey: Yeah, I figured it probably would work fine for the later versions because I checked online for help and got the $Description header from the 2010 or 2011 online help.
I have checked the spelling multiple times and the clincher is that the error message that comes up also offers a list of acceptable headers that can be used ... $Description is not in the list. Doesn't appear to be part of Solidworks 2006 ... or at least not the service pack we are stuck with.
RE: $DESCRIPTION in SW2006 ??
Dim swCustPropMgr As CustomPropertyManager
Dim value As Long
Dim strDesc As String
strDesc = "Input Description Here"
value = swCustPropMgr.Set("Description", strDesc)
RE: $DESCRIPTION in SW2006 ??
thanks for the code dsheets05 ... I will certainly give it a try! Might be a fine workaround.