SimcenterKnowledge

NX Open for CAE programming

Working with objects in the CAE data model

  • The data hierarchy in the CAE architecture is much deeper than the data hierarchy in the CAD architecture.In the CAD architecture, you obtain most objects from an instance of the CAD part class, such as information about bodies and curves.In the CAE architecture, you obtain CAE objects from a variety of different objects. For example, consider the MeshManager class:You can obtain a MeshManager instance from the MeshManager method from one of the FEModel classes, such as BaseFEModel or FEModel.The FEModel class itself is instantiated from one of the CAEPart classes, such as BaseFemPart or FemPart.A code example for obtaining a mesh manager is shown below:PythontheSession = NXOpen.Session.GetSession() basePart = Session.Parts.BaseWork if isinstance(basePart, NXOpen.CAE.FemPart):     baseFEMPart = basePart     myFEModel = baseFEMPart.BaseFEModel     myManager = myFEModel.MeshManagerVB.NETDim theSession As Session = Session.GetSession() Dim basePart As BasePart = theSession.Parts.BaseWork Dim baseFEMPart As CAE.BaseFemPart = CType(basePart, CAE.BaseFemPart) Dim myFEModel As FEModel = baseFEMPart.BaseFEModel Dim myManager As MeshManager = myFEModel.MeshManager

  • The relationships between prototype and occurrence objects are different in the CAD architecture and in the CAE architecture.In the CAD architecture, both occurrence and prototype objects are in the same class.In the CAE architecture, occurrence and prototype objects are in different classes, but they inherit from the same abstract class.Note: For queries, both prototype and occurrence objects implement the same interfaces.

  • In the CAE architecture, you can only edit prototype objects. Builder-type methods, such as Mesh2dBuilder and ElementCreateBuilder, can only operate on the concrete classes, not on the interface classes.

  • In the CAE architecture, if you do not cast a pointer to the appropriate type of object (a prototype object), then your code will fail to compile. In the CAD architecture, if you do not ask an object for its prototype, then your code will compile but will fail to run.

Learn more

NX Open for CAE terminology and concepts

CAD terminology and concepts

CAE terminology and concepts

The importance of the work part in CAE applications

Overview of the CAE data model

Overview of the CAE solver languages

Working with the CAE solver languages: name strings

Working with the CAE solver languages: property tables

Creating undo marks and forcing model updates

Look up more details

NX Open for CAE documentation resources

NX Open for CAE code examples

Quick links

Command reference

Pre/Post video examples

Bulk Entry Descriptions

Simcenter 3D tutorials

Browse Simcenter 3D help by product area

Working with objects in the CAE data model, Simcenter 3D 2021.1 Series

© 2020 Siemens

window.mainLanguage="en_US"

window.delivId=""

window.projectId=""

MathJax.Hub.Config({ TeX: { extensions: ["autoload-all.js"] }, tex2jax: { displayMath: [ ] }, "SVG": { scale: 125 } });

Source: https://docs.sw.siemens.com/en-US/doc/289054037/PL20200601120302950.advanced/id1615036 · retrieved 2026-07-17