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 MintJulep on being selected by the Eng-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
Joined
Feb 7, 2003
Messages
8
Location
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!
 
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.

Part and Inventory Search

Sponsor

Back
Top