NXOpen .NET Reference Guide
|
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...
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
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
Default values.
Property | Value |
---|---|
UpdateOnSave |
No |
Created in NX8.0.0
Specifies the Update on Save option that will be applied to all selected objects.
|
inline |
This will update the weight property of the selected objects immediately.
Created in NX8.0.0
License requirements: None.
|
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.
|
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.
|
get |
Returns the selected objects list.
Created in NX8.0.0
License requirements: None.
|
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.