Hi,
I´m searching for the Keywords in RTB-File or a function in VB, to toggle the status of the bitmap in the ribbon like this example here:
So with this button I can see, if the raster is ON (dark background) or OFF (light background).
How can I do this in my own ribbons. I have written...
Hi,
Thank you! That works fine! Is it possible to modify it in that way, that if there are some parameters like "pattern_p*", that these parameters will get also the prefix "pattern_" after renaming?
Best regards
Michael
Hi,
is there any way to reorder all standard parameters (p*) in NX (10/11)? I have a part which have currently up to parameter-number of 9000! This is a result of some pattern-features and some changes to them for different versions. So I have e.g. no parameters within 1000 to 2000 and more...
Hi,
is there a possibility to set the revision rule in the NX Load-options bei a VB-code? We are using the revision rule "latest working" in Teamcenter as default. But we need a differend rule in NX as a default. So we would like to create a VB which can be run when NX will be started.
Can...
Hi Cowski, hi John,
thank you for your Information. Parallel I have made a Call by Siemens. Darren Heath has given me yesterday the Information to the keywords.
@John:
In one of your "Last presentations" on YouTube, you have shown the "Swept Volume" function. Is that an official function? In...
Hello,
since NX9 we have the new Ribbon-Bars. To control the image-size of a button we have different Settings/Keywords in the rtb-file. In NX9 we only have small and large Images. The Keywords in the rtb-file are - RIBBON_STYLE [highlight #FCE94F]SMALL_IMAGE[/highlight] or RIBBON_STYLE...
Hi Cowski,
yes, this works great! Here is the new complete Code:
Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.UF
Module ToggleThickness
Dim theSession As Session = Session.GetSession()
Dim theUFSession As UFSession = UFSession.GetUFSession()
Dim theUI As UI = UI.GetUI...
Hello all,
I have written a small Journal to toggle the linewidth Display in drafting-mode or in modeling-mode with only one button. In this case, the tool has to be determine if we are in modeling-mode or in drafting mode, cause we have two variables - one for each of the applications...
Hi Cowski,
sorry, we only have routing-parts with line-segments. Now I test it with the part from Hallvar - arcs and splines will not processed. So in this case we have to use the code from you with "Sub findRouteSegments..". For this we have to add a routine to process all components in an...
Hi Hallvar and Cowski,
I have try to make some changes to the last code. Now I have found a way to blank/unblank the routing-segments with a UFConstant, so the segments will be blanked und unblanked over a complete assembly-struktur. You can see it in the code. I have also add a...
Hi all,
I have tried to change the last code from cowski, to select all segments (lines, arcs, splines) in the routing assembly. Currently the program blank or unblank only the control-points, part-anchors and ports in an assembly. The Segment will blank / unblank only if they are member of the...
Hi cowski,
attached you will find a sample nx-assembly and a PDF-File with some additional Information (in the Zip-File).
Michaelhttp://files.engineering.com/getfile.aspx?folder=9d9eb8dc-ed85-485c-8e53-d1df4992a79b&file=Routing.zip
Hi cowski,
OK. Next week on Monday I can upload a small example and also a functional diagram, to show where the objects are in the assembly. Routing works a little bit different then legacy work.
Michael
Hi Cowski,
the routing object are all on Layer 1 (same as the model geometry)and not in a special reference set. This is what the users have done in old parts and will also do in new parts. Actually they can use two macros to blank or unblank the routing objects. But these macros works only in...
Hi cowski,
fine, this works, but only in the single part where the routing objects are defined. Now I need to blank and unblank them in a top-level assembly, where these object are objects of the components.
I test it with:
For Each tempAnchor As Routing.Anchor In...
Hi all,
I would like to write a small VB-Program that should unblank all Routing Objects with subtype anchor, port and controlpoint. The NX Standard function with CTRL+W didn´t work, cause routing objects are not supported (NX8, NX8.5, NX9). We Need also to blank the objects first, but I...
Hi John,
why it is not possible to put all preference setting to one location. We have settings in the Customer Default, in the Part, in Users OS-Profile and Windows-Registry. But not all of them can bet set as a preference. This is very confuse for all User and me too, cause no one knows where...
Hi Maddy,
here is a little bit smarter solution:
I uses object groups and supression-values. See the attached PDF-Dokumentation from me.
Enjoy it. Best regards
Michael
http://files.engineering.com/getfile.aspx?folder=32bf1af8-174a-4ae3-a4ec-5a86d62e4d71&file=form_throught_parameter.pdf
Hi Sundeep,
If you open the expressions-Editor in NX you will be able to create a new Expression. First you have to define the typ (Number, Boolean, String, Integer, Point, Vevtor and List). But the last - "List" is only available since NX8 - you are using NX7.5! So you have to Upgrade first...