Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello,
I am having an issue resolving a "unitless value assignment for symbol 'D22' error. I am using Creo 7. The part is a helical sweep to create a spring. The pitch of the spring is defined using parameters. The pitch is a calculated value from the parameter "LENGTH" and "NUMBER_OF_TURNS". I have applied units in the parameters window to "LENGTH", but it has not resolved the error.
I have also tried defining the dimension directly in the relations window, but that also does not resolve the issue.
Any ideas as to why this might be?
Thank you,
John
Solved! Go to Solution.
Hi,
Following up, I think I have a work around for now. I commented out the relation for the pitch parameter and then went in to the parameters window and added the units. Upon going back to relations and then uncommenting the relation for pitch, it recomputed the value and maintained the units set in the parameters window. Hopefully, this will continue to work. Thanks for the help.
Hi,
please upload your model.
Hello,
I have attached the part here.
Thanks,
Hi,
I'm trying to attach the part file but it keeps removing it saying that the content does not match the file extension. Not sure how to get around this.
Thanks,
You cannot attach part or assembly files directly. Put the file(s) into a ZIP file and attach that.
Problem is likely something about the units of LENGTH or NUMBER_OF_TURNS or d22, whatever that is.
@JH_11346936 wrote:
Hi,
I'm trying to attach the part file but it keeps removing it saying that the content does not match the file extension. Not sure how to get around this.
Thanks,
Hi,
Khoros does not like numerical extensions. Therefore you cannot upload mypart.prt.1. Fortunately you can upload mypart.prt
-OR- mypart.prt.1 packed inside mypart.zip.
Hi,
in Creo 7.0.5.0 and Creo 7.0.11.0 verification of relations is successful. Please explain your problem once again.
Hi,
I continue to get this message on the bottom of my screen even after regenerating. With other parts I have generally had success applying units to parameters and having this flag go away. But I haven't been able to with this part.
Thanks,
Hi,
regeneration successful in my Creo. Test model you uploaded. It is attached to this reply.
Hi,
Must be something strange on my end then. I opened your version, and I still get this error message. I'm assuming Creo handles all the unit computations automatically, so I don't know why it thinks the units from the parameters haven't carried over to the dimension. Obviously, nothing is failed in the model, so that's good. But we are trying to have models that have no problems and can be used in simulations accurately.
Hi,
maybe the problem is related to config.pro option. Start Creo without config.pro.
Hi,
I removed the config.pro file from its normal file location and rebooted creo, but I'm afraid the error is still there. If you have any other suggestions, I would appreciate it. Otherwise, thank you for your help.
Hi,
Following up, I think I have a work around for now. I commented out the relation for the pitch parameter and then went in to the parameters window and added the units. Upon going back to relations and then uncommenting the relation for pitch, it recomputed the value and maintained the units set in the parameters window. Hopefully, this will continue to work. Thanks for the help.