Hyper threading is just a way for the processor to 'fool' the OS in thinking it has twice as many cores. It splits the CPU into 2 virtual cores and reduces the amount these cores can process to roughly 1/2 of the original CPU. This is great if your programs can use multiple cores.
To use...
I've not double checked actual figures in a while, however, previously I found a serious hit in performance with hyper-threading.
This is because the majority of commands in NX are not multi thread.
Hyper-threading effectively divides the cores of your processor in half.
If you look in windows...
John,
What about the loss of functionality with regard to moving curves.
The move function hasn't previously supported moving curves parametric or otherwise.
We currently have to employ workarounds of extruding curves to be able to move them or use the transform function if we only need...
You can also use the following, this gives the latest revision based on your set revision rules in NX.
Dim rev_tag As Tag
Dim part_tag As Tag
Dim rev_string As String = ""
theUFSession.Ugmgr.AskPartTag(part_name, part_tag)
' MsgBox(part_tag)...
Attributes can be stored against many different types of objects including:
Part
Body (Sheet or solid)
Face
Edge
etc
etc
Your code is only looking at the attributes attached to the part file hence the
workpart.getuserattribute function.
if you wanted to check the attribute of a body you could...
Phil,
I'm not sure if you are aware, but you can step back through the model tree to see how the model is built.
If you right click on a feature in the part navigator you will see, about half way down, 'make current feature'.
If you make the bridge curve the current feature and then one by one...
Phil,
Although NX can produce surfaces using a point as construction, I would advise avoiding this technique if at all possible.
Using a point in a Through Curve mesh can (and often) create surfaces with tiny 'ripples' in them.
These surfaces are extremely problematic if you then try to offset...
How are you inputting the points?
Text file read in?
Do you have your code for how you convert your data into an array? It's a little bit difficult to advise otherwise.
A quick guess would be not stripping out the leading spaces in your input but that's a wild stab in the dark :o)
Mark Benson...
Try adding something like this:
thesession.Parts.Work.ModelingViews.WorkView.Regenerate()
Mark Benson
Aerodynamic Model Designer
To a Designer, the glass was right on CAD.
A trick I use when I have a section of a facet like this is use the join curve command and then change the output type to advanced.
Try increasing the max degree. Change the tolerance to how far out you are prepared your smoothed spline to be from the original facet and see what you can...
For Each obj As DisplayableObject In theSession.Parts.Work.Bodies
If obj.GetType.ToString = "NXOpen.Body" Then ' only check object types of body
obj.layer = 2 'This moves the object to layer 2
End if
Next
The code above would cylce through all bodies in the work part ( add the same code...
To add to the discussion.
In some instances we have not lost functionality, but we have lost performance.
We regularly use the scale function when creating windtunnel models that are scaled down versions of full size geometry.
We do not want/need a parmetric link between these parts due to the...
Would a simpler approach be to always run your journal but have an if sataement cehcking the expression value wrapping your entire routine?
That way if Run_journal = False then no action is taken
Mark Benson
Aerodynamic Model Designer
To a Designer, the glass was right on CAD.
you could use:
If partSaveStatus1.NumberUnsavedParts > 0 Then
'add error catchement here
Else
'carry on with your code
End If
or
Try
partSaveStatus1 = workPart.SaveAs(file1)
Catch exc As NXException
'add error catchement here, you can use...
That's really odd. I've checked that thread several times since the 25th of april and never seen your post ....
Thanks for this, it's really useful [thumbsup2]
I've been forced to compile (and loose a lot of debugging information in the process) whenever I've used MS interop stuff.
I'll be...
I've not managed to get MS interops working with an uncompiled journal.
Doing the following in visual studio:
Add a reference into my project for the excel interop dll. Add the NX signing resource as a reference. Then compile it and then sign it.
This requires the NXopen author license.
Someone...
If you are trying to find a specific attribute try this, replacing 'Your_attribute' with the attribute name you are checking for
Dim theSession As Session = Session.GetSession()
Dim workpart As Part = theSession.Parts.Work
Dim check_string As String
Try
check_string =...
If you need to get the current username you can add the line below to a journal and it will get the windows username from the windows environment.
Dim user_name As String = System.Environment.ExpandEnvironmentVariables("%username%")
you can parse the string "user_name" to format it as you...
Could you share....
I spent ages trying to do this without the need of microsoft interop references which I've only ever managed to do using visual studio and compilation.
I'm sure the OP would also find it useful if you could expand.
Mark Benson
Aerodynamic Model Designer
To a Designer, the...