$PARTNUMBER in drawings
$PARTNUMBER in drawings
(OP)
Hi, I want to use the "$PARTNUMBER" field (of a part) in my drawing title box. It works so well for BOM tables, when using multiple configurations. But I can not get it to work in a drawing.
I am using SWX 2006 without PDMWorks.
Colin
I am using SWX 2006 without PDMWorks.
Colin






RE: $PARTNUMBER in drawings
RE: $PARTNUMBER in drawings
Does this work for you?
I get $PRPSHEET:"$PARTNUMBER" which is what I would expect,
but it does not return a value.
I know that their is a value for $PARTNUMBER in the part, because I can see it in the design table.
Colin.
RE: $PARTNUMBER in drawings
Eric
RE: $PARTNUMBER in drawings
$PRPSHEET:"PARTNUMBER" that is drop the $ in front of PARTNUMBER.
Of course you should have PARTNUMBER ..... in the Part ( *.SLDPRT) Properties Table
RE: $PARTNUMBER in drawings
RE: $PARTNUMBER in drawings
Have you assigned a custom or config specific PARTNUMBER property in the part which you are trying to link to? If you have, then jacek0841's post is correct,
RE: $PARTNUMBER in drawings
Ken
RE: $PARTNUMBER in drawings
Oops... you mentioned in your original post that you are not using PDMWorks, but I gave you a PDMW-specific suggestion. Sorry about that...
It sounds like the primary source of confusion might be whether you have a dollar sign in front of your PARTNUMBER variable. The expression $PRPSHEET:"PARTNUMBER" is what would appear on your drawing; you don't want a dollar sign in front of it, and you should check to make sure the variable in your part/assembly file doesn't start with a dollar sign. As long as the variable is defined (and has a value) in the file you are referencing and the drawing references it in the method I described above, it should work.
RE: $PARTNUMBER in drawings
I use $PRPSHEET:"SW-File Name" at the moment in my drawings which works great untill.... I create a configuration of a part, and want it to have a different part number.
I can change the part number in the BOM no problem using the cofiguration properties tab (Bill of materials options - User specified name.
"User specified name" apears in a design table under $PARTNUMBER.
I have been trying your suggestions, but I can't find a way to link $PARTNUMBER to a custom property. Which means I can not link it to my drawings.
As far as I can tell PARTNUMBER without the $ is not linked to "User specified name"
I work around this be using "save body" of the offending cofiguration. I give this file the name that suits $PRPSHEET:"SW-File Name. The drawing of this part is then a copy of the original part drawing, with the view properties changed to look at the offending configuratuon. Finally I add a view of saved body file and tell the sheet to use the custom propeties of the model shown in that view....
It works fine for me...
If any of you are still awake, thanks for your help. Am I asking for something unusual? Should I take a different approach to configurations with different part numbers.
Thanks again,
Colin
RE: $PARTNUMBER in drawings
We don't use the filename at all for anything. Our actual part number is stored as a custom property. We've set up our BOM to use that property rather than the PARTNUMBER.
RE: $PARTNUMBER in drawings
It is a case of horses for courses. We do not have a document manager, and the vast majority of our parts do not have multiple configurations. It is inflexible, but it suits us to make the filename and the PARTNUMBER the same.
Colin.