Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

"Weight" easurement through Measure Bodies vs. the "Weight" column in the Assemb 1

Status
Not open for further replies.

SMO

Mechanical
Nov 11, 2016
73
There's a mismatch between the weight taken via Measure Bodies and the value shown in the Weight column of the Assembly Navigator.

I should mention; not all the components in the Assembly Navigator show a value in the Weight column, which would explain why the Weight column for the top level assembly (sum of all the sub-assemblies) is less than it should be.

However, when I use Measure Bodies and window over the top level assembly, I get a higher weight reading that what is shown in the Assembly Navigator.

It seems like, even if no value is shown in the Weight column, it doesn't actually mean there's no weight/density associated with that component, and weight could still be captured by taking an explicit measurement.

Q: Does anyone know the reason for why a component would not give a Weight value in the Assembly navigator?

TIA,
SMO
 
Replies continue below

Recommended for you

The value you see in the "weight" column of the assembly navigator is controlled by a function in the "advanced assemblies" license. There is an option to update this weight every time the part is saved. The weight may be out of date if this option is not turned on or you don't have access to an advanced assemblies license when working on the parts (where I currently work, we have a few dozen NX users but only 1 or 2 bundles that include the advanced assemblies license). Also, these weight functions allow you to assert a value to a model; if a value has been asserted, it probably won't match what is calculated with the "measure body" command.

www.nxjournaling.com
 
Okay great, that's helpful.

I came across a few things:

1a. I was able to update all the weight values in the Assembly Navigator (including those without a value) by doing:
1b. Assembly navigator -> right click component(s) -> Properties -> Weight tab -> "Update Weight Data Now"
2a. However, the "Weight Status" column still showed components said "Unreliable value" (yellow question mark)
2b. Then I realized those were for sub-assemblies that were still "Packed," but I was able to solve this issue by doing:
2c. Unpack -> highlight sub-component(s) (even those with weight values) -> Properties -> Weight tab -> "Update Weight Data Now"
3a. I did find a few components that had Asserted weights. I assume this was done using the Advanced Weight Management system (part of Advanced Mass Properties).

I think I'm all set now, thanks again.

SMO

 
This journal will update the mass of the workpart but doesn't require an advanced assemblies licence. You may find it useful if you have limited licences and don't want to save each time.

Code:
Option Strict Off
Imports System
Imports NXOpen

Module NXJournal
Sub Main (ByVal args() As String) 

	Dim theSession As NXOpen.Session = NXOpen.Session.GetSession()
	Dim workPart As NXOpen.Part = theSession.Parts.Work

	Dim objects2(0) As NXObject
	objects2(0) = workPart

	Dim massPropertiesBuilder1 As MassPropertiesBuilder
	massPropertiesBuilder1 = workPart.PropertiesManager.CreateMassPropertiesBuilder(objects2)

	massPropertiesBuilder1.UpdateNow()
     massPropertiesBuilder1.Destroy()
End Sub
End Module

Mike Hyde
NX10.0.3 with TC11.2.1 and Vis 11.2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor