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 JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NXOpen: create sketch with user interaction

Status
Not open for further replies.

YviKyvi

Mechanical
Joined
Feb 3, 2020
Messages
12
Location
DE
Hey,

I want the user to draw a rectangle on a created plane. I use Blockstyler and the user first creates the plane interactively, then i want him to draw a sketch on that plane. At the end I would like to extrude the sketch (also interactive).

I don't understand how to get into the sketch - I can build the sketch area, but the sketch menu can't be used. So is it possible to have the user make a Sketch and use that sketch in the same Blockstyler? All I can find is how to make a sketch with fix points.

I am using NX 12.

Any help is highly appreciated! Thanks in advance :)
 
I found a workaround: use the blockfeature (two points and height) - before that you have to move the WCS to the orientation that you need, than you can make the two points on the x,y plane of the moved WCS. Regarding the documentation ".SetOrientation" in BlockFeatureBuilder should do the same, but did not work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top