hexagon logo

PCL; How to get field ID created with fields_create() ?

Hi!
I am trying to run Patran Random through PCL but I have a problem with ASD input:
random_randps_input.create_randps_file( "sx.rnd", 1, [1], [1], [1.], [0.], [3002], FALSE, ["log"], ["log"] )
 
3002 - looks like ID of ASD profile which I created with fields_create(). How to get this numer? Is there something like fields_get_id()?