Skip to main content
13-Aquamarine
September 28, 2023
Solved

borrow Creo Parametric

  • September 28, 2023
  • 1 reply
  • 1465 views

How to block loan for 2 days for Creo Parametric?
My client wants to decrease the number of loan days instead of increasing it.

 

Translated by the Community Moderation using Google Translate
-----------------------------------------------------------------------------------------------

Como bloquear empréstimo por 2 dias para Creo Parametric?
Meu cliente quer diminuir o número de dias de empréstimo em vez de aumentá-lo.

 

 

 

 

 

 

 

 

Best answer by RPN

You need to edit the ptc.opt file at the license server.

 

MAX_BORROW_HOURS
MAX_BORROW_HOURS feature[:keyword=value] num_hours
Changes the maximum period a license can be borrowed from that specified in the license
certificate for feature. The new period must be less than that in the license certificate. If
multiple MAX_BORROW_HOURS keywords appear in the options file, only the last one is
applied to feature.

 

feature

Feature this borrow period applies to. The license certificate
for feature must have BORROW enabled.

 

keyword=value

Feature name modifier to denote a group of licenses. See
“Feature Specification” for details.

 

num_hours

 

Number of hours in the new borrow period. This value must
be less than that specified in the license certificate for feature
(the default, if not specified, is 168 hours

1 reply

24-Ruby III
September 29, 2023

Take a look here:

mmello13-AquamarineAuthor
13-Aquamarine
October 5, 2023

Hello Wladimir,

Thank you very much for your help. Following the instructions from the file you suggested, I do change the days. For example, Creo's default is five days (Borrowing Period in Days), but my client wants to reduce it to 2 days. Using the environment variable, I managed to do it, but my client would like to lock it at 2 days. I see that if the professional wants to change the days, they can, and the IT team wants to lock it at two days and not be able to change it. Is this possible?

RPN
RPN18-OpalAnswer
18-Opal
October 11, 2023

You need to edit the ptc.opt file at the license server.

 

MAX_BORROW_HOURS
MAX_BORROW_HOURS feature[:keyword=value] num_hours
Changes the maximum period a license can be borrowed from that specified in the license
certificate for feature. The new period must be less than that in the license certificate. If
multiple MAX_BORROW_HOURS keywords appear in the options file, only the last one is
applied to feature.

 

feature

Feature this borrow period applies to. The license certificate
for feature must have BORROW enabled.

 

keyword=value

Feature name modifier to denote a group of licenses. See
“Feature Specification” for details.

 

num_hours

 

Number of hours in the new borrow period. This value must
be less than that specified in the license certificate for feature
(the default, if not specified, is 168 hours