Calling a .dll from .vb
Forums: Journaling / NXOpen APII have a .dll that I wanted to call from a vb as a Catch, in case there is an exception happens in my program. Mainly wanted to know the syntax of calling a .dll from a...
View ArticleSetUserAttribute 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 Articlehow to convert .vb to .dll without visual studio
Forums: Journaling / NXOpen APIHiI have recorded a journal (.VB) file now i want to convert to .dll, without visual studio, Is there any convertor or tool avalable, Thanks in Advance
View ArticleTruncated Dimensions
Forums: Journaling / NXOpen APIHi folks,I'm new in journaling. I'm looking for a journal example for changing color of truncated dimensions (which are added manually) on drawing. It should...
View ArticleEndless "Work in Progress" Box
Forums: Journaling / NXOpen APII have some code that displays a form which retrieves an expression value from NX and displays it in a textbox on the form if the textbox value is changed by the user the...
View ArticleDatum Zone Of First Instance of Each Datum
Forums: Journaling / NXOpen APIHibelow is code which is available in this site for getting zone of drafting datum, suppose The output will be likeDatum : A Sheet number : 3 Zone: A10Datum : A Sheet...
View ArticleFind and replacing note when attached with leader
Forums: Journaling / NXOpen APIHello,Below is code which is available in this site, it is working fine suppose when i am replacing word ABC with XYZ, but not working when same word ABC is attached with...
View ArticlePoint on face with work part
Forums: Journaling / NXOpen APIHere's a journal found on this forum. It can only be preformed on display part. How to make it functional on "work part".Option Strict Off Imports System Imports...
View ArticleType of Dimension - Reference Prefix
Forums: Journaling / NXOpen APIHi Folks,I have a problem with recalling the reference dimension which has changed type from VALUE -> PREFIX. (Settings - Reference - Include - Prefix).It seems that...
View ArticleSet Property of Drawing when saving part
Forums: Journaling / NXOpen APIHelloI have a function that saves a part and it's drawing:Sub save_part(name) Dim partOperationCopyBuilder1 As NXOpen.PDM.PartOperationCopyBuilder =...
View ArticleEngraving on the components
Forums: Journaling / NXOpen APIHi, I don't have any knowledge to edit the Journals to make it work on other similar components Could someone share me more helpful resources to edit my own journals as...
View ArticleView Dependent Edit
Forums: Journaling / NXOpen APIHi NX Journaling,I'm trying to make a journal for doing View Dependent Edit in the drawing. I recorded a journal and modified the code so that the code would run the View...
View ArticleFinding a part in a session, make current and save
Forums: Journaling / NXOpen APIIs it possible to find 1. if a part is already opened in a session or not 2. and if already opened in a session then make current and 3. save it? I have a code that force...
View ArticleOpen parts from assembly
Forums: Journaling / NXOpen APIHi,In the last few years working with NX whenever I want to open a complete assembly I have to do select assembly and open it several times until the assembly is...
View ArticleAutomatically close popups
Forums: Journaling / NXOpen APIHiHow do you automatically handle popups like this? I'd like to press ok with visual basic whenever this update event list pops up.
View ArticleSet Feature name to the selected object
Forums: Journaling / NXOpen APIHi NX Journaling,I want to assign the feature name to the object. I understand that to access the feature of the object, i need to do type casting or get the name of the...
View ArticleJournal for assigning material
Forums: Journaling / NXOpen APIBelow is the journal for assigning material to the part:Upon running material to be assigned is keyed in through windows form. Also this journal created measure body...
View Articlecreate Library Material
Forums: Journaling / NXOpen APIHello Everyone,Below is the journal for adding new material to the NX library material.This journal creates new material by receiving user inputs for, 1). Material Name,...
View ArticleSet Drafting Preferences
Forums: Journaling / NXOpen APIHello NX Journaling, Below is a small journal i recorded while setting the drafting preferences. This may not be pure journal in it's form but just a method of resetting...
View ArticleSection Line Thickness Change
Forums: Journaling / NXOpen APIHello,Below is the code that i have recorded to change the thickness of section line t0 0.13mm (NXOpen.DisplayableObject.ObjectWidth.One), How to modify this code to...
View Article