Quantcast
Browsing all 783 articles
Browse latest View live

Terminating a program on Error

Forums: Journaling / NXOpen APIHi all,I would like to test, if an expression exist in NX. If not, it should show a message and terminate the program without running the rest of the code. If no error,...

View Article


Journal to save current material of all bodies in part

Forums: Journaling / NXOpen APIHi,I would like to save the current material of all bodies (max. 5) in one part. After doing this I will delete assignment and local material, and then reasign the...

View Article


Selection by attribute

Forums: Journaling / NXOpen APIHello,I am beginner and I would need help. I have an assembly with several parts. These parts have some attributes. I would like to make a journal which provides...

View Article

Get Material assigned to Reference Set

Forums: Journaling / NXOpen APIHi,do anyone know, how to get the current assigned material of a reference set? This is important when reassign material to a part with more than one body and different...

View Article

How to get point names

Forums: Journaling / NXOpen APII have created some Associative points and renamed like point1, point2 etc, and added in layer 10, below is my code Option Strict Off Imports System Imports NXOpen...

View Article


Open part whether its loaded or not

Forums: Journaling / NXOpen APIAt the moment I have a function to open parts that are already loaded and one for parts that haven't been opened, yet. But now I need one that can handle both or at least...

View Article

Center of Mass with Feature Point named

Forums: Journaling / NXOpen APIHi everyone.The code bellow, creates a feature point into Assembly or Part Navigator, named CoG. Great for now.Some questions came out to improve this code.1st -...

View Article

Custom weight and CoG report in shipbuilding

Forums: Journaling / NXOpen APIHello,I need to measure the weight and center of gravity of each section along my ship. I need to export this information to a spreadsheet. There is the Weight and Center...

View Article


Jaurnal to open part, open part family apply values and then open assembly,...

Forums: Journaling / NXOpen APIAs any created a Journal that open a dwg and then opens part family and assigned row values and then opens assembly follows by open part family and applies row values and...

View Article


Modifying "Subroutine to Process All Components in Assembly" to work with...

Forums: Journaling / NXOpen APIHi, As background, I decided to register on this forum after getting excellent help from user cowski over on the Eng-Tips forum. Over there I had originally asked how to...

View Article

SetUserAttribute doesn't create it

Forums: Journaling / NXOpen APIHelloI have a user attribute that is synced with Teamcenter. If I try to set it via script it doesn't create it, even tho the documentation says it...

View Article

How to get View Letter MsgBox("view letter: "& myLabel.view_letter)

Forums: Journaling / NXOpen APIBelow is the code which is available in this site, I am interested in getting view latter, but when i am executing the below code i am getting below...

View Article

Export components' properties to excel

Forums: Journaling / NXOpen APIHello,I need to go through all of my components in an assembly, and I need to export some properties of the plates with the expression "thickness" to a spreadsheet. The...

View Article


How to connect expressions with Sketch linear dimensions?

Forums: Journaling / NXOpen APIHey NXOpen Users ;)I desperately tried to link created expressions with linear dimensions, but I just don´t get it. It would be really awesome if someone could tell me...

View Article

Closing Called Forms

Forums: Journaling / NXOpen APII have a Winform that I was using to make a sort of "Wizard" for an assembly to edit a series of expression values. It was working okay when testing initially and now the...

View Article


Create selected sheets to PDF

Forums: Journaling / NXOpen APII have Found a great journal online that creates a PDF of all the drawing sheets in the current part file. What I would like to have is a journal that will pause and let...

View Article

How to get IdSymbol Uppertext for components which are having attribute

Forums: Journaling / NXOpen APIHi I have Assembly, components are assigned with attribute “Find Number” as title and values are like 1, 2, 3 etc, and these values of attribute is referenced in balloon...

View Article


Report Shortest Tool length for all operation

Forums: Journaling / NXOpen APIHow do I make a journal for creating a "report Shortest Tool" for all the selected operation? Any Idea? or Any one can share the the journal if he/she has.

View Article

Change all the texts fonts

Forums: Journaling / NXOpen APIHelloDoes someone has some VB to change the font in the comand Text to a different one. Or how to do it, there are many Text apliend in some files and it take a lot of...

View Article

Starting NX and then Running a Journal

Forums: Journaling / NXOpen APIDoes anyone have any experience with starting an NX session with program and then running a journal?For example, I wonder if there are commands that could follow...

View Article
Browsing all 783 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>