I have been playing around with the new iLogic snippits for dimensioning on a drawing in Inventor 2021. What I am having an issue with is all the individual parts seem to be getting dimensioned. I am looking to see if there is a snippit of code that I could use for dimensioning to a namedgeometry that is inside of a part in a component pattern.
I can add just the one part and the dimension is created.
Dim namedGeometry4 = VIEW1.GetIntent("Leg:1", "LegBottom")
But if I make a component pattern to have 4 legs around a tank I can not seem to get any of the coding to recognize the namedgeometry in the leg:1. I have tried using the Intent on Patterned face snippit but that is not working for me.
Please let me know if I am missing something.
Solved! Go to Solution.
Solved by Andrew_Burnett. Go to Solution.
Update!!
Found where the issue was. I was looking for a named face that when in a pattern it was behind one of the other parts in the pattern. If I changed the code line to say.
Dim namedGeometry4 = VIEW1.GetIntent("Leg:3", "LegBottom")
Then the dimension would work. The code would not find a named face that was placed behind another when patterned.
Can't find what you're looking for? Ask the community or share your knowledge.