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