public interface MassPropertiesBuilder extends Builder
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.
PropertiesManager.createMassPropertiesBuilder(nxopen.NXObject[])
Property | Value |
---|---|
UpdateOnSave | No |
Modifier and Type | Interface and Description |
---|---|
static class |
MassPropertiesBuilder.UpdateOptions
Specifies the Update on Save option that will be applied to all selected objects.
|
Modifier and Type | Method and Description |
---|---|
double |
accuracy()
Returns the accuracy used for weight calculation during Update Now.
|
boolean |
loadPartialComponents()
Returns the load partial components flag.
|
SelectNXObjectList |
selectedObjects()
Returns the selected objects list.
|
void |
setAccuracy(double accuracy)
License requirements: None. |
void |
setLoadPartialComponents(boolean loadPartialComponents)
License requirements: None. |
void |
setUpdateOnSave(MassPropertiesBuilder.UpdateOptions updateOption)
License requirements: None. |
void |
updateNow()
This will update the weight property of the selected objects immediately.
|
MassPropertiesBuilder.UpdateOptions |
updateOnSave()
Returns the update on save option.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
SelectNXObjectList selectedObjects() throws NXException, RemoteException
NXException
RemoteException
MassPropertiesBuilder.UpdateOptions updateOnSave() throws NXException, RemoteException
NXException
RemoteException
void setUpdateOnSave(MassPropertiesBuilder.UpdateOptions updateOption) throws NXException, RemoteException
updateOption
- NXException
RemoteException
boolean loadPartialComponents() throws NXException, RemoteException
NXException
RemoteException
void setLoadPartialComponents(boolean loadPartialComponents) throws NXException, RemoteException
loadPartialComponents
- NXException
RemoteException
void updateNow() throws NXException, RemoteException
NXException
RemoteException
double accuracy() throws NXException, RemoteException
NXException
RemoteException
void setAccuracy(double accuracy) throws NXException, RemoteException
accuracy
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.