The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
I am using the param_relations.txt file to create parameters in the newly created parts.
ex: 'DESCRIPTION = BUW_SIZE + ", " + DESC_NAME + ", " + BUW_TYPE'
Question: Where are the parameters being pulled from? The parts associated *.dat file?
I am trying to extract the 'P' (Thread Pitch) value from the data file, but I am getting an error. It seems like I can extract the other values from .dat file, but not the 'P' value.
The end result I'm trying to get to is a Description parameter that reads something like:
'M12 X 1.75 X 60 LG,' etc. The 1.75 being the value I can't get.
Thanks for any assistance.
Solved! Go to Solution.
Hi,
the following values from the *.dat file are IFX-system-parameters.
STRING, DN, LG, B, S, DK, K, DG, P, DN1, DN2, L1, H, E, DG1, P1
These are special values. No parameters will be created for these columns.
These values will be used for the 2D and 3D preview and the most are dimensions inside the Creo template model.
If a column value already exist, the value will be changed.
All other values will be created as model string-parameters.
So if you want to add your thread-pitch, I think you have to add an additional column with your value.
Then you can use it in your param_relation file or you can also add the column DESCRIPTION to your *.dat file directly.
Hope this helps.
Regards,
Oli
Hi,
the following values from the *.dat file are IFX-system-parameters.
STRING, DN, LG, B, S, DK, K, DG, P, DN1, DN2, L1, H, E, DG1, P1
These are special values. No parameters will be created for these columns.
These values will be used for the 2D and 3D preview and the most are dimensions inside the Creo template model.
If a column value already exist, the value will be changed.
All other values will be created as model string-parameters.
So if you want to add your thread-pitch, I think you have to add an additional column with your value.
Then you can use it in your param_relation file or you can also add the column DESCRIPTION to your *.dat file directly.
Hope this helps.
Regards,
Oli
one more thing.
If you create the parameter 'P' in your template part,
then it will be changed to the value from your *.dat file instance.
Regards,
Oli