Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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: *

  1. StianA

    Journal: Change font for label on parent

    Update two: I was able to combine the two scripts after all:) Seems to be working as I want now: Option Strict Off Imports System Imports System.Collections.Generic Imports NXOpen Imports NXOpen.UF Module set_dim_text_to_arial Dim theSession As Session = Session.GetSession() Dim...
  2. StianA

    Journal: Change font for label on parent

    Update: I have managed to stitch together another script that fixes the font for label on parents. So this script and the one I posted earlier works fine separately and gets the job done. But I don't know how to combine the two, as I don't understand how a function works:) Any tips on how to...
  3. StianA

    Journal: Change font for label on parent

    Hi, I'm trying to create a journal that changes all fonts in the drawing to Arial (among other things). So far everything changes except "label on parent". I can't figure out how to change the font for those. If anyone could help me find a code that selects all the label on parents in the...
  4. StianA

    Return Feature Control Frame in Journal Script

    Great! I found the .NET API reference guide. This definitely helps a lot, although it is a bit hard to navigate/understand when I don't have a lot of experience with this stuff. My code now covers almost every item I need to change, but I am still struggling to include LabelonParent. All other...
  5. StianA

    Return Feature Control Frame in Journal Script

    Also, you mentioned "According to the API documentation" in your previous post. Where can I find that documentation? As of now I am just creating Journals and trying to figure out which command to use from those. Or i use google. Documentation that shows what is in each class would be really...
  6. StianA

    Return Feature Control Frame in Journal Script

    Hi again. The code is coming along well, but there is still one thing that does not update to the new settings. It's the section where I change label settings. All labels get the new settings except "Label on Parent" (i.e. the label you get when you create a detail view)...
  7. StianA

    Return Feature Control Frame in Journal Script

    Great! This works perfectly. Thank you very much!
  8. StianA

    Return Feature Control Frame in Journal Script

    I'm running NX8.5
  9. StianA

    Return Feature Control Frame in Journal Script

    Hi, I am trying to create a script that changes the settings for Feature Control Frames, Datum feature Symbols, Notes, etc. I am new to programming and I am not 100% sure of what I'm doing so I could need some help. So far I have this Code...
  10. StianA

    NX Journal - Move CSYS to layer, but skip CSYS on layer 2

    Thanks a lot, Cowski! That works perfectly in NX 8.5:)
  11. StianA

    NX Journal - Move CSYS to layer, but skip CSYS on layer 2

    Thanks a lot for the quick reply, cowski! I've just tested the script and I get this error message: Line 42: 'LogForUpdate' is not a member of 'NXopen.Update' Do you know how to fix this? BR Stian LA
  12. StianA

    NX Journal - Move CSYS to layer, but skip CSYS on layer 2

    Hi, I'm new to journaling and have a question I hope you can help me with. I found this code online, which moves CSYS to a specific layer: Option Strict Off Imports System Imports NXOpen Imports NXOpen.Features Imports NXOpen.Utilities Imports NXOpen.UF Module ChangeDatums Sub Main()...

Part and Inventory Search