Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting Assembly using AddBiEltCst and Orientation?

Status
Not open for further replies.

CPosner

Mechanical
Jan 26, 2007
139
I'm trying to make two planes coincident.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor