Cancel
Showing results for 
Search instead for 
Did you mean: 

Reuse Library | Clone instead of reference

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hey gys,

 

little confusing situation. there is an reuse library created and the part should be placed in the assembly as "Clone" but evrytime i drag and drop it to a new file or asm it is set to reference.

 

123.jpg

 

So if i reset the Dialog it jumps back on "Reference". I did not find any Customer Default for it, in NX9, NX11, NX10. Also the Reuse Library Setting in NX10 for the Part Copy does not effect this.

 

I dont find anything in the help nor the internet. 

 

I thought about to use the attribute pts_clone = not working

i thought about some things to write in the krx = nothing found

 

does some one got ideas or the solution?

9 REPLIES

Re: Reuse Library | Clone instead of reference

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @Cableguy,

 

Add the following syntax to your krx file within the <ItemData> tags:

 

<ItemData>
... <RenameOption>Clone</RenameOption>
...
</ItemData>

 

Regards, Ben

 

Re: Reuse Library | Clone instead of reference

Solution Partner Genius Solution Partner Genius
Solution Partner Genius
Hi Ben,

thank you. that works as i wanted it.

Re: Reuse Library | Clone instead of reference

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

@BenBroad wrote:

Hi @Cableguy,

 

Add the following syntax to your krx file within the <ItemData> tags:

 

<ItemData>
... <RenameOption>Clone</RenameOption>
...
</ItemData>

 

Regards, Ben

 


@BenBroad,

where did you find this solution?

I am looking for some documentation/reference on all supported option and cannot find anything about it.

Re: Reuse Library | Clone instead of reference

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @MartinBernhard,

 

where did you find this solution?

I reached out to the product development team.

 

I assume that you've read the following pages in the NX documentation:

Knowledge enabled components

 

Regards, Ben

Re: Reuse Library | Clone instead of reference

Solution Partner Genius Solution Partner Genius
Solution Partner Genius
I found it at the GTAC 😂

Outlook für iOS beziehen

Re: Reuse Library | Clone instead of reference

Creator
Creator

How can you easily add this code line in the krx file managed by teamcenter?

 

Too bad you don't see this option in the 'edit krx file' menu in NX.

Re: Reuse Library | Clone instead of reference

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @SteffenDS.

 

In Teamcenter, right click on the KRX dataset under the Item Revision and choose Named References.  You should see an XML file in the list - select it and choose "Open" to open it in a text editor, if you have one associated with XML files in Tc.  Alternatively select "Download" to save the XML file on your local machine, edit it in a text editor and then "Upload" it back into the KRX Named References:

 

Screenshot - 5_30_2018 , 11_08_16 AM.png

 

 

Screenshot - 5_30_2018 , 11_09_30 AM.png

 

Regards, Ben

Re: Reuse Library | Clone instead of reference

Creator
Creator

Almost there.

 

I cannot open krx datasets in notepad through TC.

Both krx and xml files are default opened with notepad on my pc.

How can associate notepad in TC with these datasets?

 

Exporting and importing xml files is a bit cumbersome to do for many reuse library items.

Re: Reuse Library | Clone instead of reference

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @SteffenDS,

 

Are they opening in Internet Explorer?  Mine were.

 

I selected "Edit > Options", clicked on Dataset and then set Dataset Type to "KRX".  The Default Tools were listed as "IExplore" and "Notepad".  With Notepad highlighted, I checked the box "Use MIME Type to Search Application for Default Tool".  Now when I double click the KRX dataset or choose Open from the Named Reference, the xml opens in Notepad.

 

Hope that helps.

Regards, Ben