Adding content center part with custom lenght and variant with iLogic

Adding content center part with custom lenght and variant with iLogic

marvin_sahmHP3SG
Participant Participant
168 Views
1 Reply
Message 1 of 2

Adding content center part with custom lenght and variant with iLogic

marvin_sahmHP3SG
Participant
Participant

Hello everyone,

 

I have a question regarding adding a custom content center part with iLogic.

First I want to say, that I am not very familiar with iLogic. Just startet working with it, so there might be a obvious solution for this but during my research I could not find something that is working for me.

 

For my application I need to get profiles from the cc, which I want to do with iLogic.

When manually placing the part from the cc the variant of the profile (Schwer, Eco or Leicht) has to be selected and the lenght needs to be typed in. (Schwer and 1mm is always pre selected when clicking the part)

Looks like this:

1.png

 

 

The familiy in the cc looks like this:

2.png

Basically for now, just to understand how it might work, I want the iLogic rule to do the same thing. Open a window in which the user can select the variant and type in the lenght. I just cant figure out, what command to use to place the profile. I would guess the Components.AddContentCenterPart() is the right one. But where do I insert the selected variant and the value for lenght in this command?

 

I know its possible to create a family for each of the three variants with all the lenghts I need. But I wonder if its possbile to get it to work with the family I created.

 

I am using Inventor 2023.

 

I hope someone can give me an advise how to do it.

Thank you!

0 Likes
169 Views
1 Reply
Reply (1)
Message 2 of 2

JMGunnar
Collaborator
Collaborator

Custom Content Center  "Length"

its support from Inventor 2024 as default 

 

Best Regards Johan G

0 Likes