Identifying Logical Function by a simple and unique Id

Hello,

When working with a large number of logical functions, it is convenient to be able to number each function using a simple and unique identifier (e.g., Funct1234). Is this functionality available in Capella? how to implement it?

thanks

  1. No

  2. Python4Capella

Haage,

Thanks for your synthetic answer :slight_smile:

I’m very fond of the Py4C solution. Py4C could be a solution indeed, but:

  • it must be “manually” activated after the creation of a logicalfunction and not at the creation of the function
  • how to maintain a register (to be sure not to identify 2 different functions with the same id

Have you an idea to fix this 2 points

Hi,

For community information, here is the py script (it works for my model) which identifies LF by a unique [FCxxxx] at the beginning of the title of a function :

Import_Logical_Functions_ID.py (2.9 KB)

1 Like