I wrote a STEP file using STEPCAFControl_Writer. I organized the structure in assemblies and component and gave a name for each (using TDataStd_Name on TDF_Label of added component for example). My problem is that Catia seems recognize this name as a comment and not as identifiant. It is visible in the file for each NEXT_ASSEMBLY_USAGE_OCCURENCE where the first argument the identifiant and the second is the name. In the STEP format, theses 2 arguments are strings. When I wrote the file, I found the given name in the secong argument but I found an number in the first one. I would like to give the name in this first argument.
How can I do that ? I read doc that makes me think that I must use SHUO API but I didn't understand how to use and there is nothing about that on the forum. It is the right way to modify the identifiant and how can I use this API ?
Thanh in advance