Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
1103 Views, 9 Replies

iLogic AddUsingiMates

I'm trying to place a part in an assembly using the iLogic code below:

oOccEnumerator = oAsmCompDef.Occurrences.AddUsingiMates("filename", False)

It works well on most of my files but there's one in particular that has a composite iMate and a single iMate, because it requires constraining to two different parts. The code only generates one of these when executed.

 

Does anyone have experience with this or knows of an alternative solution?

 

Thanks!