NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.MassPropertiesBuilder Class Reference

Represents a NXOpen.MassPropertiesBuilder for calculating the weight of selected objects as well as informing the part that the assemblies weight property data needs to be updated on save. More...

Inheritance diagram for NXOpen.MassPropertiesBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  UpdateOptions { No, Yes, Mixed }
 Specifies the Update on Save option that will be applied to all selected objects. More...
 

Public Member Functions

unsafe void UpdateNow ()
 This will update the weight property of the selected objects immediately. More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe double Accuracy [get, set]
 Returns or sets the accuracy used for weight calculation during Update Now. More...
 
unsafe bool LoadPartialComponents [get, set]
 Returns or sets the load partial components flag. More...
 
unsafe NXOpen.SelectNXObjectList SelectedObjects [get]
 Returns the selected objects list. More...
 
unsafe
NXOpen.MassPropertiesBuilder.UpdateOptions 
UpdateOnSave [get, set]
 Returns or sets the update on save option. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a NXOpen.MassPropertiesBuilder for calculating the weight of selected objects as well as informing the part that the assemblies weight property data needs to be updated on save.

To create a new instance of this class, use NXOpen.PropertiesManager.CreateMassPropertiesBuilder

Created in NX8.0.0

Member Enumeration Documentation

Specifies the Update on Save option that will be applied to all selected objects.

Enumerator
No 

The Update on Save property will be turned off for all selected objects.

Yes 

The Update on Save property will be turned on for all selected objects.

Mixed 

The Update on Save property will not change for the selected objects.

Member Function Documentation

unsafe void NXOpen.MassPropertiesBuilder.UpdateNow ( )
inline

This will update the weight property of the selected objects immediately.

Created in NX8.0.0

License requirements: None.

Property Documentation

unsafe double NXOpen.MassPropertiesBuilder.Accuracy
getset

Returns or sets the accuracy used for weight calculation during Update Now.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.MassPropertiesBuilder.LoadPartialComponents
getset

Returns or sets the load partial components flag.

This flag specifies whether partially loaded components will be fully loaded so the Update on Save setting can be applied to all parts. The commit may take longer if this flag is turned on.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.SelectNXObjectList NXOpen.MassPropertiesBuilder.SelectedObjects
get

Returns the selected objects list.

Created in NX8.0.0

License requirements: None.

unsafe NXOpen.MassPropertiesBuilder.UpdateOptions NXOpen.MassPropertiesBuilder.UpdateOnSave
getset

Returns or sets the update on save option.

This option informs the part if it should update the assemblies weight property on save and will be applied to all fully loaded parts contained in the parts list. The option will be applied to all partially loaded parts as well if the Load Partial Components option is set to true.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.