cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

ProSimprepdataitemsVisit returns bad items for replaced components

GD_9484398
8-Gravel

ProSimprepdataitemsVisit returns bad items for replaced components

Hello PTC Community
I am using Creo Parametric Release 10.0 and Datecode10.0.8.0

I need to get the simplified representation used as substitution of an item of a dedicated simplified representation of an assembly. So I'm using ProSimprepdataitemsVisit to get the items and filtering them on the action type. it works well with a new created simplified representation.
After replacing the a component having a substitution by a component having also same replied representation name, it is not possible to get it : the previous component is still return as ProSimprepitem ( its item_path still have the previous CID).
How to update the simplified representation item?
1 REPLY 1
RPN
17-Peridot
17-Peridot
(To:GD_9484398)

Sorry but I have difficulties to understand your topic. 
After replacing the component you get the same model handle as before replacing?

 

Did you try to regenerate the assembly? 

But again I did not really understand your topic. 

It is a simplified rep, you need to get the representation for  the path. Only for an interchange this is different. 
Maybe a textual example?

Announcements

Top Tags