cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

IFX - Param_relations.txt

dbower2
5-Regular Member

IFX - Param_relations.txt

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.

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

Oliver Gräbner
B&W Software GmbH

View solution in original post

2 REPLIES 2

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

Oliver Gräbner
B&W Software GmbH

View solution in original post

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

Oliver Gräbner
B&W Software GmbH
Announcements