1. Home
  2. /
  3. Nx-open
  4. /
  5. Create a Sketch on XY Plane

Create a Sketch on XY Plane - Nx-open Typing CST Test

Loading…

Create a Sketch on XY Plane — Nx-open Code

Creates a new sketch on the XY plane in the active part.

Dim theSession As Session = Session.GetSession()
Dim workPart As Part = theSession.Parts.Work
Dim sketches As Sketches = workPart.Sketches
Dim xyPlane As Plane = workPart.Planes.FindObject("XY Plane")
Dim sketch As Sketch = sketches.CreateSketch(xyPlane)

Nx-open Language Guide

NX Open is the API and programming interface of Siemens NX CAD/CAM/CAE software, allowing automation, customization, and integration through scripting and compiled languages such as Python, C#, and Java.

Primary Use Cases

  • ▸Automating repetitive CAD modeling tasks
  • ▸Creating custom design or simulation workflows
  • ▸Batch generation of drawings and reports
  • ▸Integrating NX with PLM/PDM systems
  • ▸Custom feature development and CAD add-ons

Notable Features

  • ▸Supports Python, C#, Java, and C++
  • ▸Access to modeling, drafting, assembly, and simulation modules
  • ▸Event handling and callbacks in NX
  • ▸Integration with Teamcenter and other PLM systems
  • ▸Batch processing and script execution

Origin & Creator

Developed by Siemens Digital Industries Software as part of the NX suite (formerly Unigraphics), NX Open was introduced to provide a programmable interface for advanced customization.

Industrial Note

Critical for CAD/CAM/CAE environments where automation, batch processing, and integration with enterprise systems are required, particularly in aerospace, automotive, and heavy machinery industries.

More Nx-open Typing Exercises

Create a New Part (NXOpen)Draw a Line in SketchDraw a Circle in SketchExtrude a SketchCreate a Rectangle SketchApply Fillet to EdgeAdd Material to PartCreate Circular PatternSave Part Document

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher