1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.
2. What version of Creo Parametric are you currently running?
3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.
I would like to be able to create the decimal places for individual parameters.
I went to sketch an engraving a customer wants on parts and I cannot control the decimal places. I could change the config file but I need different decimal places for different engravings. Picture has example of one, but another might be &etch2[.2]
4. What is the use case for your organization?
Customer requires engravings on parts with as made dimensions
5. What business value would your suggestion represent for your organization?
Eliminate errors when typing in manually, save time as auto update when a copy is created and modified, save time because a long relation is not needed.
For clarification etch = d98 a dimension from the model creation.
A method I've used to do what you are asking is:
(1) Create a String parameter for the number you want, say "txtEtch".
(2) Since there is no such thing as a real to string function in the relations, you enter the following relations:
txtEtch = ITOS ( floor ( Etch ) ) + "." txtEtch = txtEtch + EXTRACT ( ITOS ( 1000 * ( 1 + Etch - floor ( Etch ) ) ), 2, 3 )
(3) Use the txtEtch parameter for the engraving.
It's not very simple, but it works.
This is what we end up doing, but you have to repeat it every time. Then you have to get it correct every time. We could start a notepad or word document with all of the "custom" relations we use, but maybe that should be a feature CREO should have; store the equation or go look at an external file
If I could just use the [.3] like you can on a note or in dimension text this would be simply solved.
I agreee, this is a much needed function.
There is a config.pro setting that specifies how many decimal places the parameters will have:
The problem is that this setting affects all "Real" parameters. Some parameters we might want to have higher precision, hence, should display more decimal places, but when applying notes we might want specific parameters to have 2 or only 3 decimal places. So, it should be a setting on the parameter notes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.