Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

$PARTNUMBER in drawings

Status
Not open for further replies.

CMcF

Mechanical
May 28, 2003
149
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
 
Replies continue below

Recommended for you

Thanks Simon205,
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.
 
You might want to look at: thread559-163433 and thread559-138421. I beleive they are related to what you are trying to do.

Eric
 
Try this :

$PRPSHEET:"PARTNUMBER" that is drop the $ in front of PARTNUMBER.

Of course you should have PARTNUMBER ..... in the Part ( *.SLDPRT) Properties Table
 
As I recall, there is a standard SW property called "Number." That may work better for you in defining the part number, especially if you are using PDMWorks.
 
The default property used for the "Part Number" column in a BOM is the name as seen in the explorer windows. This can be accessed with $PRPSHEET:"SW-File Name". Is this what you are wanting?

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,

[cheers]
Helpful SW websites faq559-520​
How to find answers ... faq559-1091​
SW2006-SP5 Basic ... No PDM​
 
Open you Part file, go to File|Properties, Custom Tab...now verify that PARTNUMBER has a value.

Ken
 
CMcF,

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.
 
Thanks chaps, but I am not there yet.

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....[sadeyes]
It works fine for me...[2thumbsup] and minimises drawing time, but it is a bit complicated for the old boys that I work with.

[sleeping2]

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
 
Umm, for parts that have a configuration, link your note to the configuration name? Seems a bit quicker than your current method...

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.
 
Thanks handleman,
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor