Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: niedzviedz
  • Content: Threads
  • Order by date
  1. niedzviedz

    AskSymbThreadParms - unknow feature type

    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...
  2. niedzviedz

    How to process all detailviews?

    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()...
  3. niedzviedz

    Select cylindrical face with symbolic thread

    Hello, Is there any way to select cylindrical faces but only the ones which has symbolic thread added? With best regards Michael
  4. niedzviedz

    Curve width

    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
  5. niedzviedz

    How to set default unit by NXopen

    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...
  6. niedzviedz

    DatumFeature move to layer

    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...
  7. niedzviedz

    Report all links in assembly

    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 =...
  8. niedzviedz

    journal to move sketches on layer and rest curves on another layer

    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...
  9. niedzviedz

    Block styler - radio button

    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
  10. niedzviedz

    Journal to toggle between fully shaded and wireframe

    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...
  11. niedzviedz

    Delete Datum_CSYS

    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...
  12. niedzviedz

    centerline, centermark color change by journal

    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...
  13. niedzviedz

    Interpart expression report

    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...
  14. niedzviedz

    NX 11 material atribute was reset ...

    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...
  15. niedzviedz

    update titleblock on second sheet and above

    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...
  16. niedzviedz

    Projected area of part

    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
  17. niedzviedz

    Add body to reference set

    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...
  18. niedzviedz

    NX Journal - List of T problem

    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...
  19. niedzviedz

    Journal to select drafting view

    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 =...
  20. niedzviedz

    Mask triples NX10

    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...

Part and Inventory Search