Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
hello experts
I have a question in creo BOM How can we add the length, width, and height of the workpiece of the finished part? without adding the parameters every time in a new part file.
regards
Fisa
Solved! Go to Solution.
Best I can think of would be a binary parameter to say whether or not the part is cylindrical, and another parameter for the text to be displayed if that is the case. Then your repeat region displays the ModelCHECK parameter unless it's a cylindrical part. In that case it displays your alternative parameter.
Then you could have a mapkey that changes the binary parameter to TRUE and adds a relation to add the relevant dimensions into the string for the alternative parameter, allowing the user to pick what dimension corresponds to the diameter and what corresponds to the length.
Then, if you're making a cylindrical part, you need to run the mapkey and identify the relevant dimensions. If it's not a cylindrical part, you don't need to do anything.
Alternatively, use a different start part for cylindrical parts that has a pre-modelled cylinder and contains the aforementioned parameters from the start. So if you're making a cylindrical part, you use that start part and just adjust the first cylindrical feature's size.
Hello @asifcad
You can use ModelCheck.
Please refer to the video attached
How to get overall size of a model using ModelCHECK in Creo Parametric
That's a really neat trick! Didn't know ModelCHECK could do that.
I already checked it but the model check does not differentiate between the cylindrical and non-cylindrical parts. It always shows x,y,z values..even if your model is cylindrical.
regards
Asif
How would you like it to report a cylindrical part?
for raw material ordering of cylindrical parts. We mention Dia x length and for non cylindrical L x W x H
Best I can think of would be a binary parameter to say whether or not the part is cylindrical, and another parameter for the text to be displayed if that is the case. Then your repeat region displays the ModelCHECK parameter unless it's a cylindrical part. In that case it displays your alternative parameter.
Then you could have a mapkey that changes the binary parameter to TRUE and adds a relation to add the relevant dimensions into the string for the alternative parameter, allowing the user to pick what dimension corresponds to the diameter and what corresponds to the length.
Then, if you're making a cylindrical part, you need to run the mapkey and identify the relevant dimensions. If it's not a cylindrical part, you don't need to do anything.
Alternatively, use a different start part for cylindrical parts that has a pre-modelled cylinder and contains the aforementioned parameters from the start. So if you're making a cylindrical part, you use that start part and just adjust the first cylindrical feature's size.