Questions tagged [nxopen]

NX Open is an API for Siemens' NX, which is computer-assisted design/engineering software. Use this tag for questions about using the NX Open API to get information or extend functionality to Siemens NX.

the tag refers to the NXOpen API of SIEMENS NX CAD software

19 questions
0
votes
1 answer

Remove camera rotation after journaling NX Open

What functions in the journal are responsible for moving the camera? I i removed lines of code like this. After that, the camera rotations became less, but the camera continues to rotate and is centered at the beginning of the coordinate system. …
0
votes
1 answer

How to use AskAdjacentFacet function in NXOpen?

I am working with convergent facet bodies in NX and using C# in NXOpen. In the process, I am using UFSession.Facet.AskAdjacentFacet function to get the adjacent facets of each facet. But on using this particular command, the NXOpen throws error…
0
votes
1 answer

How to check if a body is a sphere

I want to check what is the body type of the body I'm working with in a BodyCollection (If the body is Sphere). How do I write that? This is what I tried: public void ChamferAll() { int subtype = 1; string offset1 = "5", offset2 = "0", angle…
yoyo159
  • 3
  • 1
0
votes
1 answer

How can I use written code in C# on NX? (How do I compile C# code into NX?)

I have already written code in C# for UG NX in a .cs file, but I want to use it on NX without having to copy and paste it into NX's Journal. I have written the code in Visual Studio and tried Ctrl + Shift + B to build the .cs file, but I received an…
John Lee
  • 31
  • 1
1
2