I'm trying to mate two edges of two different cuboids in Inventor, I've named the edges manually, but now I'm trying to mate them using the I-logic code but the assembly is not fetching the edge name. It says "there is no such feature as Edge 1 in cuboid-1". I'm using the following code:-
Constraints.AddMate("Face_Mate_1", "Cuboid_1", "Edge 1", "Cuboid_2", "Edge 13",
offset := 0.0, e1InferredType := InferredTypeEnum.kNoInference, e2InferredType := InferredTypeEnum.kNoInference,
solutionType := MateConstraintSolutionTypeEnum.kOpposedSolutionType,
biasPoint1 := Nothing, biasPoint2 := Nothing)
Solved! Go to Solution.
Solved by FINET_Laurent. Go to Solution.
Morning,
This should be a syntax issue. Make sure you respect capital letters and spaces (Part names in the assembly & edges names) ..
Could you provide files ? (make sure it's not confidential)
Regards,
FINET L.
If this post solved your question, please kindly mark it as "Solution"
If this post helped out in any way to solve your question, please drop a "Like"Hello,
So I was trying to convert this I-logic code for face naming for an assembly in inventor , I'm attatching the code below:
-
Morning,
Is this a question ? I'm not sure to understand.
Regards,
FINET L.
If this post solved your question, please kindly mark it as "Solution"
If this post helped out in any way to solve your question, please drop a "Like"Morning Laurent, So basically I was trying to convert an I-logic code into C#(C-sharp)...the code was regarding the process of mating with face naming using inventor, the code that I've sent you is my attempt to convert that I-logic code into C#.
Can't find what you're looking for? Ask the community or share your knowledge.