Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Jan 26, 2007
Messages
139
Location
US
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

Back
Top