I'm working on connecting SW's BOM's to our ERP. I need to create a custom field in our models that have the PDM revision in it. We have a, I think, a variable in our data card "REVISION". This is what's called in our borders $PRP:"REVISION", to pull the REV into the drawings.
What do I need to do to pull that same data into the model?
PDM revision into model
Re: PDM revision into model
Don't you want to have the model's revision number in the model's custom properties? I'm assuming you're expecting to keep your drawing and model at the same rev. Unless, your model files are not rev controlled by PDM?
Are you using PDM workflow to control the PDM revision?
Are you using PDM workflow to control the PDM revision?
- jcapriotti
- Posts: 1868
- Joined: Wed Mar 10, 2021 6:39 pm
- Location: The south
- x 1211
- x 1998
Re: PDM revision into model
To start, you need to map the "Revision" PDM variable in your system to what PDM calls an "Attribute" and "Block". (Seems like Conisio must've been an AutoCAD PDM first or something. )MJuric wrote: ↑Wed Jan 03, 2024 12:27 pm I'm working on connecting SW's BOM's to our ERP. I need to create a custom field in our models that have the PDM revision in it. We have a, I think, a variable in our data card "REVISION". This is what's called in our borders $PRP:"REVISION", to pull the REV into the drawings.
What do I need to do to pull that same data into the model?
The block name for SolidWorks and Office files is "CustomProperty" and the "Attribute" is whatever the custom property is in your SolidWorks file....sounds like its already set to "Revision". Once mapped, any change to the PDM data card, either by a user or by workflow transition action will update the custom property in the file.....and vice versa.
Jason
Re: PDM revision into model
I'm not entirely sure I want the model or the print's revision in the model custom property. In theory they should be the same but on more occasions than I would like to admit they get out of sync because someone will pull and update one and not the other.bnemec wrote: ↑Wed Jan 03, 2024 12:50 pm Don't you want to have the model's revision number in the model's custom properties? I'm assuming you're expecting to keep your drawing and model at the same rev. Unless, your model files are not rev controlled by PDM?
Are you using PDM workflow to control the PDM revision?
That being said though the correct thing to do is to get the models rev.
We are using PDM to control rev.