I'm working on a Toolkit asynchronous procedure that retrieves an assembly and applies some UDFs. It works well except on assemblies with simplified representations. UDFs are to be applied in the master rep but as far as I could debug, an user defined simplified representation is loaded, so the UDFs placing constraints fail. I'm using the ProMdlRetrieve function and no explicit simp rep are loaded.
The question is... how can I force Pro/ENGINEER to load the master rep?
The procedure is for Pro/ENGINEER Wildfire 2.0 and Intralink 3.3 (but the same occurs with Intralink 3.3)
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Stefano, It has been my experience with simp reps that you have to explicitly load/activate the simp rep you want to work with. If you just load a model (I think) the rep that was active the last time it was saved will be active. You need to use one of the following functions based upon asm or prt.