Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

HELP!! Need to change sketch support using a VBscript macro

Status
Not open for further replies.

faskis

Materials
Feb 7, 2003
8
ES
I can´t find any reference in the Automation Help to instruct me how to programatically change the sketch support of a positioned sketch, from one face of a pad to the opposite.

Thank you!
 
Replies continue below

Recommended for you

You will probably need to set a new absolute axis for the sketch. This can be obtained by using the selected element get Coordinates and click twice in different areas on the face and create the plane matrix from that. If you did not do it interactively then you could calculate the new coordinates if it was a pad from Limit2 depth and a vector direction.

Greg
 
Status
Not open for further replies.
Back
Top