Is there any way using NXOpen to print to file (using an installed plotter, in my case an HPGL. i.e. I don't want to generate a CGM or tiff file, I want to create an HPGL file which I can do manually using an installed plotter and printing to file)?
Thanks
Is there a way to open an excel spreadsheet from a VB.net journal without having to specify the executable path for the excel program (i.e. I just want to open a workbook from a journal without knowing where the excel exe is stored)?
Thanks.
I'm trying to write a journal that I can run from the command line which will open a part and export an image of the part as a jpg. But I want it to run without having to open a UG window (i.e. run in the background, I don't want to see the parts being processed). I can do this with a journal...
Does anyone know an easy way using NXOpen to get all the components in an assembly (including subassemblies) saved to an array? I like to sort the assembly tree in descending order and then export it to a spreadsheet. I would ideally like to get that same structure/order, but I need it in...
I'm trying to get the extreme X and Y coordinates of an assembly using NXOpen. Essentially, I'm rotating the assembly about the Z axis one degree at a time and each time I need to get the X and Y limits of the assembly (in the absolute CSYS). Right now I'm using UFModl.AskBoundingBox to do...
Hi,
I'm using NXOpen to check some assembly clearances. I'd like to set the default clearance zone (say, 5mm) for the assembly clearance using the UFClear.SetDefaultClearanceZone method. The problem is, the clearance zone argumenat this method accepts is a tag object. How do I know what the...
Does anyone know the NXOpen .NET nomenclature for creating an assembly clearance set which has a facet based analysis and then run the clerance analysis on that set and output whether or not there is interference (no details, just go-no go)?
Thanks.
I'm trying to do a simple assembly clerarance check on an assembly with two components in NX7.5. I want to do this as a lightweight assembly since the components are big. But for some reason, once there are no interferences (I move the components completely apart), it finds that everything...
Hello,
I'm trying to figure out how to make a UDF in NX (5.0.6.3)that makes a hole and slot which lie on the same axis on a plane. I know how to make it so I can define the slot and hole sizes, but I want to be able to select a line on a face and then have the hole placed at on end of the line...
Hi,
On the drawings where I work we have a general tolerance called out for the posiition of non-circular features of size. Normally, this is a rectangular tolerance zone but the plant has asked me to make this tolerance zone cylindrical. Does anyone know if this is forbidden at all by the...
I'm trying to print a drawing in HPGL format using a journal. I can send it to the plotter no problem, but what I need to do is print it to a file. Does anyone know how or if this is done in with a journal?
Thanks.
Hi,
I'm trying to get the bounding box around a part (or component, I've tried both) with the following code:
Imports System
Imports NXOpen
Imports NXOpen.Assemblies
Imports NXOpen.UF
Imports System.IO
Module NXJournal
Sub Main
Dim theSession As Session = Session.GetSession()
Dim ufs As...
Does anyone know if there is a way to use a load options file other than the default load_options.def when running ugtopv.exe from the command line (I'd like my default NX load options to be separate from the command line ugtopv.exe load options).
Thanks.
Does anyone know a command to convert a string array to a single string (I am passing the file path to the run_journal.exe program and I need to make the array of strings into a single string).
Thanks.
I wrote the following code to export all the solids on the work layer to a parasolid:
dim wlayer as integer = workPart.layers.worklayer
dim objs as NXObject()=workpart.layers.getallobjectsonlayer(wlayer)
dim obj as NXObject
dim taglst(objs.length) as Tag
dim t as tag
dim x as integer=0
dim b...
Does anyone know where I can find a list of parameters for ugii.bat? The file itself says to look in the Workstation Guide, but I have no idea where that is or what the file is called (not hits when I searched for it).
Thanks.