Skip to main content
14-Alexandrite
July 14, 2017
Solved

Parameter dialog config file rp_config.xml does not seem to sort.

  • July 14, 2017
  • 1 reply
  • 7566 views

It appears after having set up the config file for the parameter dialog it does not sort the name column descending.  The XML does contain the lines:

<sortby>
      <column name="name" order="Descend"/>
</sortby>

The other settings function as expected.  Something missing?  Expectations too high?

Best answer by MartinHanak

Hi,

 

I tested your xml file in CR3 M130 and realized that there is bug in Creo. See following "table":

 

<column name="name" order="Ascend"/>... without sorting
<column name="name" order="Descend"/> ... ascending sorting
<column name="name" order="None"/> ... descending sorting

 

This means if you want to sort parameters in descending order, you have to set following option in XML file:

<column name="name" order="None"/>

 

Please report the problem to PTC Support.

1 reply

24-Ruby III
July 15, 2017

Hi,

 

1.) According to https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS134639, you have to set config.pro option ‘parameter_dialog_setup_file’ and browse to ‘rp_config.xml’ as a value

 

2.) If I remember it well, Creo saves into ‘rp_config.xml’ only changes made to default dialog setting.

 

3.) I can test your problem, if you tell me what Creo version you use (for example Creo 3.0 M090).

14-Alexandrite
July 17, 2017

I forgot to mention I am using Creo 3 M130.  Attached is the XML saved by Creo that I compared to other ones saved with visible differences in settings made.  Thank you for your time.

-Michael

24-Ruby III
July 18, 2017

Hi,

 

I tested your xml file in CR3 M130 and realized that there is bug in Creo. See following "table":

 

<column name="name" order="Ascend"/>... without sorting
<column name="name" order="Descend"/> ... ascending sorting
<column name="name" order="None"/> ... descending sorting

 

This means if you want to sort parameters in descending order, you have to set following option in XML file:

<column name="name" order="None"/>

 

Please report the problem to PTC Support.