Hello
I have journal to color all cylindrical faces which are part of thread feature. Everything works perfects on NX12. When I switch to NX2007, it's stopped working. I receive information:
NXOpen.NXException: Unknown feature type in NXOpen.UF.UFModl.AskSymbThreadParms(Tag thread_obj_id...
Hello,
I wanna process all detail views to change label on it. Below is my code, but I receive an error "cannot convert detailview to 1-dimensional array view."
Option Strict Off
Imports System
Imports NXOpen
Module NXJournal
Dim theSession As NXOpen.Session = NXOpen.Session.GetSession()...
Hello,
Is there any way to get the real curve width by nxopen?
DisplayableObject.linewidth
return values from 5-13 for example:
NXOpen.DisplayableObject.ObjectWidth.Six
How to convert it real value like "0,18 mm"?
With best regards
Michael
Hello,
Can someone can help with this question - how to change / set default unit by Nxopen? I found new code in NX 12:
SetDefaultDataEntryUnits¶
UnitCollection.SetDefaultDataEntryUnits
Set a choice of default set of units for data entry in the given part.
Signature...
Hello everyone,
Is there a simple way to move DatumFeature to specific layer? Right now I created something based on recorded journal:
For Each myFeature As Feature In workPart.Features
If TypeOf (myFeature) Is DatumPlaneFeature Then
Dim myDatum as Features.DatumPlaneFeature = myFeature...
Hello,
I wanna process all parts in assembly to report all links and then search for parent. Now I have journal which was created to report all broken links. Below is some code:
Sub reportComponentChildren1( ByVal comp As Component, ByVal indent As Integer)
Dim workPart As Part =...
Hello,
I'm writing some journal to move some part objects to specifics layers. For example planes on 60 sketches on 70 and rest of curves on 80. Right now I have some problems with curves if they are in sketch, because my code move them all to layer 80.
for each curveObj as Curve in...
Hello everyone,
I have a simple question - how in block styler set radio button to be default selected? In VB I have option to:
me.radiobutton1.checked = true.
With best regards
Michael
Hello everyone,
I have created this journal to change shading on selected view in drafting. It toggle between fully shaded and wireframe. It's works ok, but it has one problem, the display doesn't change after journal end. When I change display part to another, and return back, view updates and...
Hello everyone,
I have assembly with many parts, and in each part there is one Datum_CSYS, which I wanna delete. I write some code, based on recorded journal, but it didn't delete it.
For Each datumCsys1 As NXOpen.Features.DatumCsys In myPart.features
Dim markId2 As...
Hello everybody,
I would like to change every centerline (2D, 3D etc) and center mark to specific color, for example 186. I have found some example here Link but there is a problem. For example when I add:
centerline3dBuilder1.Settings.Color = 186
I receive an error: "cannot convert...
Hello everyone,
I have some problem to solve - I have new assembly with some parts copied from different assembly with interpart link pointing to old one. Every time I open this assembly I receive error message, that NX cannot find some part, to update those links. We don't have advanced "wave...
Hello Everyone,
After I moved to NX 11 from NX 10, every time I put some model from Moldwizard library I receive this annoying message:
The Material Attribute was reset because it did not match the material assignment. This action was taken based on your Customer Default setting.
I have this...
Hello everyone,
I have some problem with titleblock. Everything works great, when drawing has only one sheet. When I add more (by file import part, I have macro to do that), the cells on the second sheet looks similar to this: [REMARKS] or [DESIGNED BY], [ORDER] etc. Then I have to manually go...
Hello everyone,
I need to calculate projected area of part. I'm using right now NX 10 and module Mold wizard. I have found 2 thread about it, but I would like to know if something changes since then (NX6). Maybe some new tool of NX or from mold wizard?
With best regards
Michael
Hello every one,
I'm trying to write journal which selected body:
- change translucency to 60
- change line to dashed
- put it on layer 100
- and finally put it in reference set "false"
First 3 point work perfect but the last one not. Below is my code:
Option Strict Off
Imports System...
Hello everyone,
Some time ago I have created journal to report broken links. Link Because this thread is closed, I start this one. Now I would to add broken link to list, sort them and display. Below is my code:
Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.UF
Imports...
Hello,
I wanna create journal to select drafting view and then toggle between hidden lines invisible or dashed.
I create some code, but I need help.
Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.UF
Imports NXOpen.UI
Module Module1
Dim theSession As Session =...
Hello,
I have question about mask triples in NX 10. Did something changes in this dialog , because I have journal to select face and change it color. In NX 8.5 it works perfect - select only face, but in NX 10 it also selecting solid body.
Below is my code:
Option Strict Off
Imports System...