CPosner
Mechanical
- Jan 26, 2007
- 139
I'm trying to make two planes coincident.
My code won't work when applying the Orientation, Unless my formatting is incorrect. The "CatConstraintOrientation" is what the help file directs me to.
Otherwise the code works as "CatCsTypeOn" for a coincident constraint.
Another way I have worked around it was to pro-rotate my plane by 180deg. Then the assembly works fine with "CatCsTypeOn". I'd still like to know how to control orientation.
Thanks
Code:
Set constraint1 = constraints1.AddBiEltCst(catCstOrientSame, sref, lref1)
My code won't work when applying the Orientation, Unless my formatting is incorrect. The "CatConstraintOrientation" is what the help file directs me to.
Otherwise the code works as "CatCsTypeOn" for a coincident constraint.
Another way I have worked around it was to pro-rotate my plane by 180deg. Then the assembly works fine with "CatCsTypeOn". I'd still like to know how to control orientation.
Thanks