Skip to main content
Feb 1, 2019 1:27 PM UTC
Question

Session ID for Assembly Components

Hi everybody.

I have a question about the session ID of assembly components. I'm using CREO4.

Let me explain with an example.

I have an assembly with two components which have the session IDs #2 and #4.

I Save a Copy of assembly and two components as well.

In the new assembly the session IDs of new components are different (e.g. #0 and #2)

 

Do you know if it's possible to manage this IDs or is it possible to keep the same ID of the original file ?

 

Many thanks 

Pierluigi

 

 

8 replies

Feb 1, 2019 2:31 PM UTC

Each assembly as it is built will have unique SIDs for its components. They should remain static within the assembly, but as you notes a SaveAs will create new SIDs in the renamed assembly.

 

I do not believe there is a way to manually manipulate these, they are internally generated.

 

Feb 1, 2019 3:37 PM UTC

Session IDs are just that, an ID for that specific component for that session.  These are assigned sequentially as objects are loading into memory and released as objects are removed from memory.  Creo is smart enough to automatically keep the values (relationships) correct as objects are loading into session.  You can get into trouble if you try to build mapkeys that refer to session IDs or you try to do a 'Save As' with models suppressed that contain relations that use session IDs.

Feb 1, 2019 4:40 PM UTC

Yes, exactly.

I'm trying to automate some operations and I found this limit. 

I hoped that using "Save As" had possibility to keep the ID ... But unfortunately it doesn't.

Thanks anyway .

 

Pierluigi 

Feb 1, 2019 5:55 PM UTC

Just realize that they don't *need* to stay the same, they simply have to maintain the same relative relationships.  As long as the 'Save As' happens with everything related in session, you should have no problems.