Drawing views

Get Dimension Values from Drawing Sheet | NX Open Programming With VB .NET

This journal get’s the name material used in part. Imports SystemImports NXOpenModule NXJournalSub Main (ByVal args() As String)Dim theSession As NXOpen.Session = NXOpen.Session.GetSession()Dim workPart As NXOpen.Part = theSession.Parts.WorkDim pm As NXOpen.PhysicalMaterial()pm = workPart.MaterialManager.PhysicalMaterials.GetUsedMaterialsIf pm.Length = 0 ThenMsgBox(“Material not assigned”)Else MsgBox(“Physical Material ” & pm(0).name)End IfEnd SubEnd Module API Information: PhysicalMaterial Class should be used to …

Get Dimension Values from Drawing Sheet | NX Open Programming With VB .NET Read More »

Get Material Used in Part | Get Material Name | NX Open Programming

This journal get’s the name material used in part. Imports SystemImports NXOpenModule NXJournalSub Main (ByVal args() As String)Dim theSession As NXOpen.Session = NXOpen.Session.GetSession()Dim workPart As NXOpen.Part = theSession.Parts.WorkDim pm As NXOpen.PhysicalMaterial()pm = workPart.MaterialManager.PhysicalMaterials.GetUsedMaterialsIf pm.Length = 0 ThenMsgBox(“Material not assigned”)Else MsgBox(“Physical Material ” & pm(0).name)End IfEnd SubEnd Module API Information: PhysicalMaterial Class should be used to …

Get Material Used in Part | Get Material Name | NX Open Programming Read More »

Get datum planes | Get total count | NX Open

Datum Planes are a planar reference feature to help define other features, such as swept bodies and features at angles to the faces of target solids. This journal when used retrieves the number of Datum Planes used in part. Imports SystemImports NXOpenModule NXJournalSub Main (ByVal args() As String)Dim theSession As Session = Session.GetSession()Dim theUI As …

Get datum planes | Get total count | NX Open Read More »

Get count of all types of attributes from a part | Get total count | NX Open | CountAttributes

An attribute is a persistant way to store non-geometric data (i.e. not a point or curve or solid or feature). Attributes can be referenced in expressions and (in drafting) in notes/labels/other drafting text (including parts lists, etc.)   The journal below returns the number of attributes of any type present in work part. Imports SystemImports …

Get count of all types of attributes from a part | Get total count | NX Open | CountAttributes Read More »

Get user attribute information of a part | Get title and its value | NX Open Automation | AttributeInformation

An attribute is a persistant way to store non-geometric data (i.e. not a point or curve or solid or feature). Attributes can be referenced in expressions and (in drafting) in notes/labels/other drafting text (including parts lists, etc.)   The journal cycle through the work part and display all user attributes in a listing window. Imports …

Get user attribute information of a part | Get title and its value | NX Open Automation | AttributeInformation Read More »

Create diameter dimension to all circle edges in Drawing View Using NX Open APIs | CAD Automation | ufs.Drf.CreateDiameterDim

Design Engineers always spend more time on drawings for several reasons. A few of them are; Drawings are prime source of information Quality of drawing needs to be accurate Every design iteration has small or big impact on drawings Design Engineers always look for simplifying drawings, not to specifiy duplicate details in it. and lot …

Create diameter dimension to all circle edges in Drawing View Using NX Open APIs | CAD Automation | ufs.Drf.CreateDiameterDim Read More »

Create Blank Part With Drawing Sheet Using NX Open APIs | CAD Automation | C Sharp

It is quite possible to create a blank part and drawing sheet with one click of a button. Yes, you are right, this can be done with the journal. This journal below is written in C sharp programming language. Exactly how you either select a pre-defined template or custom apply a few settings on top …

Create Blank Part With Drawing Sheet Using NX Open APIs | CAD Automation | C Sharp Read More »

Can ChatGPT (OpenAI.com) Help You Learn NX Open APIs | CAD Automation with the help of Artificial Intelligence

https://youtu.be/5NWHlSM0sQ0 Q:Can you teach me nx open using visual basic .net? ChatGPT: Yes, I can help you get started with using Visual Basic .NET in NX Open. NX Open is a programming interface that allows you to automate tasks in Siemens NX software. It is built on top of the .NET framework, which means that …

Can ChatGPT (OpenAI.com) Help You Learn NX Open APIs | CAD Automation with the help of Artificial Intelligence Read More »