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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

ID of component in relation

EL_10548943
12-Amethyst

ID of component in relation

Hello everyone,

I would like to pilot a repetition with family table, the fact is they dont keep the name in memory( first image).

This is a big repetition so i dont want add 1 by 1 every subassembly.

 

My idea is to pilot the component by is ID in the relations and find the correct lenght in is family table

 

So my question is there anything like a function to schearch the ID of the component.

 

I hope you understand what i'm saying. I'm new in CREO/PTC and even more in relations and program. I probably dont have the vocabulary.

Thank you for reading

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hello, 

Actualy, I solve my problem just by adding 1 by 1 my componetn.

My problem was like if it was possible to change the value with family  instance in repetition, the problem i had it is that number of repetition change, and in pro program i didnt succed of do a repetition of the instance instead of the piece. So they didnt have the name i create with LOOKUP INST.

 

The only solution i thinked about with a repetion was with a FOR function (change the value with a N and N+1). But as you know there is  not FOR function in relation. So i was force to use the first solution add 1 by 1.

 

I shearch on the web and on PTC i feel like it's possible to do this with a repetition but you have to use TOOLKIT and then add a language C program with the function FOR. I dont know how to use it so i give up.

 

I wanted to manage a repetition with  a family table but it's not possible because the piece dont have the name of the LOOKUP_INST FUNCTION.

Hope you understand me, i dont have a very good vocabulary in this field, I dont feel like give you picture or example will help you to understadn me.

Thank you for reading,

Me.

 

 

View solution in original post

4 REPLIES 4

You can search for components by ID but I would recommend adding the ID column to your model tree. It might be a little easier to work with. See below:

 

In your model tree:

 

Tdaugherty_0-1688560137329.png

Tdaugherty_1-1688560195940.png

Tdaugherty_2-1688560231715.png

 

 

 

Hello,

I didnt know you could do this, it help a lot thank you !

You save me a lot of time.

You can automatically select the right family instance by relations in pro program so I think there are some options for you. I do not exactly understand what you are trying to do. Can you give an example or a picture of the model?

Hello, 

Actualy, I solve my problem just by adding 1 by 1 my componetn.

My problem was like if it was possible to change the value with family  instance in repetition, the problem i had it is that number of repetition change, and in pro program i didnt succed of do a repetition of the instance instead of the piece. So they didnt have the name i create with LOOKUP INST.

 

The only solution i thinked about with a repetion was with a FOR function (change the value with a N and N+1). But as you know there is  not FOR function in relation. So i was force to use the first solution add 1 by 1.

 

I shearch on the web and on PTC i feel like it's possible to do this with a repetition but you have to use TOOLKIT and then add a language C program with the function FOR. I dont know how to use it so i give up.

 

I wanted to manage a repetition with  a family table but it's not possible because the piece dont have the name of the LOOKUP_INST FUNCTION.

Hope you understand me, i dont have a very good vocabulary in this field, I dont feel like give you picture or example will help you to understadn me.

Thank you for reading,

Me.

 

 

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags