Hi all,
I have created a couple of NXopen custom apps for NX and compiled them to be .exe's
I cant seem to find away to add them to a NX toolbar '.tbr' file so that they will execute inside of NX
I have also tried to add them to a '.men' file, but NX executes them as if they were a system...
Hi All,
Does anyone know if its possible to configure NX to use a different editor when working with journals.
ie. When using 'Menu > Tools > Journal > Edit' rather than the standard NX code editor being displayed, NX will start and interact the code editor of your choice.
Using NX11 if that...
Does anyone know if it is possible to capture the name of a model view to include in a note.
I want to create a PMI note in a model view, which contains the current view name
e.g. something like:- <WRef1*0@VWNAME>.
I want the note to automatically update if the view name changes.
Thanks in...
Hi,
I have a simple journal file:-
:>>>>>>
Imports System
Imports NXOpen
Module NXJournal
Sub Main (ByVal args() As String)
Dim theSession As Session = Session.GetSession()
Dim theUI As UI = UI.GetUI()
msgbox("Hello World")
End Sub
End Module
;<<<<<
Is it possible to compile this into a...
Hi All,
I need to create a .net script which will change the color of all PMI objects in a part.
Does anyone know if there is a .net collection in the workpart for NX which would contain all the PMI objects (text, symbols, notes ect...)
I was then intending to cycle through the array to...
We have switched a supplier who wants a conventional drawing when previously, the was a part defined with PMI.
Is there a simple way (utility ect) whereby I can generate a drawing from a model containing PMI?
I don’t expect to get a fully finished drawing in one go, but if I can get the data...
Has anyone else experiemented with this capability yet?
Has anyone found a way to interrogate the resulting body ie, section it or convert it to a convergent body?
Cheers
NXJ
Does anybody know a way to feed the ug manager export utility a list of parts, rather than a single assembly. Running the command for individual parts takes way to long to be practical.
Cheers in advance,
NXJ
Hi Cowski,
I suspected that is how works, and that's exactly how I got around the issue.
Seems odd then that Siemens have a section in the customer defaults that does nothing! (in NX11 at least)
cheers for confirming what I did is logical.
Nxj
Has anyone else experienced this:-
Set object preferences in the site DPV file (color, Line Style, width)
But these settings never appear in the part?
Any ideas
Cheers NXJ
I need to create a lot of part attributes. I am trying to use 'setattribute' within a journal to create the variable and the value, but can't seem to set the category. Is it possible with 'setattribute' or should I use something else?
I would like to separate the attributes into logical groups...
ge_font6 for us. After lots of testing when we first deployed ug (a long time ago now), this font seemed to survive our printing and various other reprographics processing
Has anybody got any recommendations for exporting NX PMI data to 3D PDF. It seems unusual that NX doesn't directly support this, are there plans to with NX12?
Cheers,
NX Jockey
When ever I have done it, I always use 2 tier to get the better performance. I also copy all of my tc config (tc data ect) to the local client to improve performance.
Cheers
NX Jockey
Thanks Cowski,
I have tried this 'views(1) = thisview' but still have a issue :(
updated code:-
Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.UF
Imports NXOpen.Drawings
Imports NXOpen.UI
Imports NXOpen.Utilities
Module reset_views
Dim s As Session =...
i am trying to create a simple vb script to cycle through all the views in a drawing sheet and reset them to the customer defaults.
I have created the attached code, but it fails, and I cant work out why:- 'Object reference not set to an instance of object' so I think its something to do with...