Calling individual imate & imate Composite

Calling individual imate & imate Composite

sam
Advocate Advocate
647 Views
4 Replies
Message 1 of 5

Calling individual imate & imate Composite

sam
Advocate
Advocate

Hi Experts, 

I am trying to write a piece of ilogic code which gives me option of suppress any or all of the imate composite solutions available in a certain part. Problem is I don't know how to call the an imate composite. 

Thanks in advance. 

 

Best regards, 

sam

0 Likes
648 Views
4 Replies
Replies (4)
Message 2 of 5

HermJan.Otterman
Advisor
Advisor

look in Inventor help , programming/api help for iMateResult, this is the solution of two imates or composite imates, there is also a Suppressed property that can be set

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes
Message 3 of 5

sam
Advocate
Advocate

Thanks Herm Jan, 

 

I will try this. 

 

Regards, 

Sam

0 Likes
Message 4 of 5

sam
Advocate
Advocate

Hi Herm Jan, 

I was doing some reading and some digging of code and realized that iMateResult is actually result or solution of imates or imate compoisites on two parts. My query was about if I could get Inventor to ask me to selct which imate composite Inventor is going to consider in making solution and suppress all others. 

 

Best regards, 

Sajid Mahmood

0 Likes
Message 5 of 5

HermJan.Otterman
Advisor
Advisor

Imates have some preferences.

first is the order of the imates in the composite. f.i. mate, mate, flush

then there is the name of it, if the names are the same then that wil go first. if more names are the same, than there is an index. so, many ways to get the right one?

else you can connect two mates with the imateresult as the outcome, you can specify the imates that you want.

(no need to suppress the others)

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes