Custom Properties and Equations for use in BOM Tables

We use a set of custom properties in our parts andassemblies(TitleLineOne, TitleLineTwo, and PartNumber).  Iwould like touse these values in the BOM table but am havingtrouble writing anequation in the part/assembly to set my customproperties equal tothe SW pre-defined properties (Description andPart Number,respectively).  I found a post in the forumsindicating that Ishould useDescription = \\\$PRP:"Property1"\\\$PRP:"property2" (mine isDescription =\\\$PRP:"TitleLineOne"\\\$PRP:"TitleLineTwo") but I get a "The syntax of thisequation isincorrect" pop-up.  I've triedDescription =\\\$PRP:"TitleLineOne" + \\\$PRP:"TitleLineTwo"butstill get the syntax error.  The only way I have been abletoget past the syntax error is to useDescription ="TitleLineOne" + "TitleLineTwo" but doingthisgives me the red exclamation point and returns a value of"???" inthe model tree.

Can someone point out what I am doing wrong?

I would also like to know the syntax to generate the SWpre-definedPart Number value for use in the BOM table (somethinglike PartNumber = ...)

Thanks in advance for any help
SolidworksBill Of Materials
Comments 7
SF
SF 2007-10-18
Jody,
I am not sure if this can be done with an equation but it can bedone with another file property as follows:

Create a new File Property (Custom or Configuration Specific),then, in the Value Field, type in the other existing fileproperties you require.

Example:
New Property - DESCRIPTION
Values - $PRP:"Property1" $PRP:"property2"
-- OR --
Values - $PRP:"TitleLineOne" $PRP:"TitleLineTwo"

Also, to make the description appear on two lines,
enter the first - $PRP:"Property1" and at this point enter Alt 0010followed by the next entry.
The Alt 0010 is a carrage return, also, the numbers must be enteredwith the number pad.
When this method is used, the first line will disappear afterinputting Alt 0010 because the first line rolls up or out of site.
Kind of tricky and a bit trickier when trying to edit but it worksgreat.
SF
SF 2007-10-20
Yes Eddie, that is the only way to do it... text can not beadded by equations, need to be concatenated... what I do notunderstand is why this is not on the Help of the program, neitherthe VAR's know about... well they do not know about a lot ofthings...
SA
SA 2007-11-09
To better explain what Eddie is saying, please look at:
http://www.solidprofessorstore...asksp_media/V11Q3.html
SF
SF 2007-11-21
Sorry if other contributor or MVP have said that the onlysolution is create other custom property.
You can menage text on BOM by equations.
See the image attached.
I tested on SW2007 and 2008 and work great.
The only limitation is that the ALT+0010 can't be put on theequation, but in the before custom property.

Alessandro
SF
SF 2008-01-16
can we use string operation to manipulate other column orother custom porperty so we get what we need?
SF
SF 2008-01-16
I had an error with ". After replacing " with ` equatationworked fine in BOM column.

For example:
=IF(`NoDrawing`= "X";"";`PIIR_NO`" "IF(`REV1_MARK`="-";"";`REV1_MARK`))

This code returns a drawing number (if exist) and revision (ifexist).

SF
SF 2008-01-17
Mr. Frattini,

Per your statement; "Sorry if other contributor or MVP have said that the onlysolution is create other custom property.", I (MVP) did notstate any such thing. I gave a solution that I use and that couldbe used by others.

If you have a contribution, give it.
If you are going to nit-pic at little issues or comments, keep themto yourself, they do no good here.