Skip to main content
12-Amethyst
Apr 8, 2025 5:21 PM UTC
Solved

CREO AFX CUSTOMIZATION_PATH

How can I define a path as an environment variable for CUSTOMIZATION_PATH in the AFX module that is accepted? Currently, I have to set this option via Creo, but it should also be definable in the PSF file or via a startup script. Currently, the module does not accept this environment variable even though it is included in Creo.

Catalina_0-1744180594201.png

 

11-Garnet
Apr 9, 2025 9:01 AM UTC

Hi, Are you looking for Customized Library path location or customization folder location inside your AFX library ?

 

We can set Customized Library path location through Env. variable though psf file.

To set customization folder location inside your AFX library,

1) Set it through Creo.

2) Edit afx_options.xml file in configuration folder in your AFX library.

and add value there like below,

<Category layout="lay_category_2">
<Option name="CUSTOMIZATION_PATH" type="PATH">
<Value>Add address of customization folder inside your library</Value>
</Option>
</Category>

4 replies

Catalina
Community Moderator
Apr 9, 2025 6:35 AM UTC

Hi @OS_11014878 

 

Thank you for your question! 

 

I’d like to recommend to bring more details and context to your initial inquiry. For example:

  • Can you describe the steps you have taken so far to set the CUSTOMIZATION_PATH environment variable in Creo? Have you tried setting it via the PSF file or a startup script?
  • Are you encountering any specific error messages or issues when trying to set the CUSTOMIZATION_PATH environment variable?
  • What specific behavior or functionality are you looking for with the CUSTOMIZATION_PATH setting? Are there any particular paths or configurations you need to apply?

Please add screenshot(s) to better understand what you are trying to do in your process. 

 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

What is a good question? 

Creo

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,

Translate
Catalina | PTC Community Moderator
12-Amethyst
Apr 10, 2025 8:09 AM UTC

Thank you for your feedback.

Next time I will consider an argument.

 

Best regards,

Translate
11-Garnet
Apr 9, 2025 9:01 AM UTC

Hi, Are you looking for Customized Library path location or customization folder location inside your AFX library ?

 

We can set Customized Library path location through Env. variable though psf file.

To set customization folder location inside your AFX library,

1) Set it through Creo.

2) Edit afx_options.xml file in configuration folder in your AFX library.

and add value there like below,

<Category layout="lay_category_2">
<Option name="CUSTOMIZATION_PATH" type="PATH">
<Value>Add address of customization folder inside your library</Value>
</Option>
</Category>

Translate
12-Amethyst
Apr 10, 2025 8:06 AM UTC

Thank you very much!

Translate