Community
I've named some edges and trying to use the following code
Constraints.AddInsert("Insert1", "SRF 11 09:1", "B1FTH", "SRF 70 22:1", "LockTopHole", axesOpposed := True, distance := 0.0, lockRotation := False, biasPoint1 := Nothing, biasPoint2 := Nothing)
Works perfectly on parts, but if the part is inside a sub assembly it can't see it.
I tried makepath but that didn't work either. Any ideas, or is it not possible?
You have to use CreateGeometryProxy. For example:
Call oContainingOcc.CreateGeometryProxy(Feature,ProxyFeature)
This returns ProxyFeature that you will have to use when part is is within assembly.
So does that look something like?
Part:1.CreateGeometryProxy(Face1,ProxyFeature)
Yes. Just make sure that Part:1 is correct name for occurrence object variable.
Can't find what you're looking for? Ask the community or share your knowledge.