Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

PDMWorks Unique Number Property 1

Status
Not open for further replies.

GunT

Mechanical
May 29, 2005
79
Hi all,

Is there any way to change the "Number" Property in PDMWorks as "Unique" so that it has only one unique value per document.

Any help will be greatly appreciated.

Regards
 
Replies continue below

Recommended for you

No. Other than putting the number within the filename (which is required to be unique within the same vault), I am not aware of a way to accomplish what you are trying to do.
 
Hey PDMAdmin,

Presently files names are of the format:

Part Number_Part Desc

But PDMWorks looks at File Name for uniquenesss( As you have pointed out).So there is a possibilty of two or more documents existing with:

a)Part Number_Part Desc1
b)Part Number_Part Desc2 .....

And I want to avoid that situation if possible. I think it would be nice to have the unique property on Number along with File Name set. Will really put a constraint on the user input and will eliminate human error to a big extent.Just a thought.

Thanx for the input. Looking forward to more comments.

Regards
 
GunT,
Have you tried it? What does it tell you?

Chris
Systems Analyst, I.S.
SolidWorks/PDMWorks 05
AutoCAD 05
ctopher's home site (updated 06-21-05)
FAQ559-1100
FAQ559-716
 
GunT,

To avoid the situation you described, you would need to name your files strictly by part number and have the description within the file parameters. (You can search by file parameters in PDMWorks.)
 
Chris,

I am trying to achieve this goal the round about way. But my API skills are pretty preliminary. Thats precisely the reason for my post: To find out whether anyone on the forum tried to do what I am looking for.

But I do have an idea to share. What I have in mind is along these lines ( Just the logic):

1. I have my Excel Part Number DataSheet with a Column called "Part Number"

2. I have a Custom Property called "PartNo".

3. I want to link the Custom Property "PartNo" to Max(Part Number) column in the Excel Sheet. ( I do not know whether this can be achieved or not. Probably the API gurus on this forum will comment). I was looking for a Macro or API code to achieve this or a better way to do it.

4.Finally link the CP:Number to CP:partNo for Part/Assembly and to CP:Drawing Number for Drawing respectively.

PDMWAdmin,

I know that your method works. But my boss and co-worker are not going to like your method. It took a significant amount of effort from my side just to introduce a Non-significant Part numbering scheme. If I suggest to remove Part Description from File name probably all hell will break loose. But I will give it a shot.

Thanx for the feedback guyz.
 
OK. Seems to me you want to somehow link the PartNo column in custom property in the file to be linked to the Number column in PDMWorks? If that is what you want, I have not been able to do that. We have always entered that data manually. Sometimes if the info is filled out in Properties of the file, it auto imports to PDMW and Acrobat.

Chris
Systems Analyst, I.S.
SolidWorks/PDMWorks 05
AutoCAD 05
ctopher's home site (updated 06-21-05)
FAQ559-1100
FAQ559-716
 
Chris,

If you add a custom property called "Number" in SW you can link it to other custom properties in the following fashion:

Number: $PRP:"Part Number"

It has worked for me. Let me know if this is what you want or am I missing somthing?

Regards,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor