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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

import relations

lylebeidler
1-Visitor

import relations

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>
5 REPLIES 5

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>

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


Sss4598
12-Amethyst
(To:BobMonat)

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!

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>
jkent
12-Amethyst
(To:lylebeidler)

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().


Announcements


Top Tags