Skip to main content
1-Visitor
December 2, 2010
Question

import relations

  • December 2, 2010
  • 4 replies
  • 1524 views
WF3 JLink question

How do I add relations to the "Post Regeneration" section of the relations?





--



Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>

4 replies

1-Visitor
December 2, 2010
I should clarifiy - is there somthign I can do in the import relations
instructions that tells it to add the relations to the Post Regeneration
section, instead of initial?

Thanks!



--



Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>
1-Visitor
December 3, 2010
Lyle,

If I remember correctly, the post relations have a relset id of -2. Through
Pro/TOOLKIT, that can be specified. I suspect you can do it through J-Link.

Bob

Bob Monat
Jerand Technical Services, Inc.
bob@jerand.com
www.jerand.com
1-317-875-6087


12-Amethyst
July 23, 2024

Hi BobMonat,

 

Can you please suggest how can it be done with help of creo toolkit? I want to import relations in model from .txt file using C++ Toolkit.

 

Thank You in Advance!

1-Visitor
December 3, 2010
Anybody know if this can be done in JLink? I can't find anything in the
JLinkDoc package

Lyle,

If I remember correctly, the post relations have a relset id of -2. Through
Pro/TOOLKIT, that can be specified. I suspect you can do it through J-Link.

Bob

--



Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>
1-Visitor
December 3, 2010
Don't think a method exist to add relations to Post Regeneration
section.



From the WF 4 API,



GetRelations/SetRelations



/*optional*/ stringseq

GetRelations

()

void

SetRelations

( /*optional*/ stringseq value)





The list of the actual relations assigned to the item.

In case of a Model, this attribute is a complement of
Model.GetPostRegenerationRelations() which contains post regeneration
relations.

Doesn't look like there is a Model.SetPostRegenerateRelations().