public interface BomListBuilder extends Builder
BomListBuilder
builder.
MoldwizardManager.createBomListBuilder()
Property | Value |
---|---|
BomListType | BomList |
Modifier and Type | Interface and Description |
---|---|
static class |
BomListBuilder.BomListSortOption
Represents an enumeration indicating whether the sorting needs to be performed in ascending or descending order.
|
static class |
BomListBuilder.BomListTypes
Represents an index to components list type.
|
Modifier and Type | Method and Description |
---|---|
void |
addBomData(Component[] partOccs,
String[] dataStrings)
Adds a new record into BOM list.
|
BomListDataProvider |
bomListDataProvider()
Returns the data provider of BOM
License requirements: None. |
BomListBuilder.BomListTypes |
bomListType()
Returns the tree list shows which kind of components should be included in
License requirements: None. |
String |
bomTemplate()
Returns the template file of bom
License requirements: None. |
DisplayableObject |
createPartsList(int[] columnWidths,
Point3d point)
Creates parts list for the assembly.
|
String[] |
getAttributeStrings()
Deprecated.
Deprecated in NX11.0.0. Use
getColumnAttribute(int) instead.
|
void |
getColumn(String attrString)
Deprecated.
Deprecated in NX11.0.0. Use
getColumnAttribute(int) instead.
|
String |
getColumnAttribute(int columnID)
Gets the corresponding attribute name of given column.
|
String |
getColumnLabel(int columnID)
Gets the column label.
|
Component[] |
getPartOccs(int rowID)
Gets the corresponding part occurrences of given row.
|
int[] |
getRows(BomListBuilder.BomListTypes bomListType)
Deprecated.
Deprecated in NX11.0.0. Use
ITableEditorDataProvider.rowCount() instead.
|
void |
ignoreComponents(int rowID,
Component[] partOccs)
Ignores the corresponding components of given row in the Hide List so that the components can not be exported to spreadsheet.
|
void |
ignoreRows(int[] rowIDs)
Ignores the given rows in the Hide List so that all the components of the rows can not be exported to spreadsheet.
|
void |
modifyBomData(int rowNumber,
int columnNumber,
String userString)
Deprecated.
Deprecated in NX11.0.0. Use
ITableEditorDataProvider.setString(int, int, java.lang.String) instead.
|
void |
parseBomTemplate()
Parses the current BOM template.
|
void |
populateBomListData()
Populates BOM list data according to current template.
|
SelectComponentList |
selectComponents()
Returns the select component needed to get stocksize
License requirements: None. |
void |
setBomListType(BomListBuilder.BomListTypes bomListType)
License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setBomTemplate(String bomTemplate)
License requirements: ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
showComponents(int rowID,
Component[] partOccs)
Shows the corresponding components of given row in the BOM List so that the components can be exported to spreadsheet.
|
void |
showRows(int[] rowIDs)
Shows the given rows in the BOM List so that all the components of the rows can be exported to spreadsheet.
|
void |
sortColumn(int columnID,
BomListBuilder.BomListSortOption order)
Sorts the given column.
|
void |
updateEwBlankAttributes()
Updates the blank attributes of electrodes in Electrode Design Application.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
String bomTemplate() throws NXException, RemoteException
NXException
RemoteException
void setBomTemplate(String bomTemplate) throws NXException, RemoteException
bomTemplate
- NXException
RemoteException
SelectComponentList selectComponents() throws NXException, RemoteException
NXException
RemoteException
BomListBuilder.BomListTypes bomListType() throws NXException, RemoteException
NXException
RemoteException
void setBomListType(BomListBuilder.BomListTypes bomListType) throws NXException, RemoteException
bomListType
- NXException
RemoteException
BomListDataProvider bomListDataProvider() throws NXException, RemoteException
NXException
RemoteException
void updateEwBlankAttributes() throws NXException, RemoteException
NXException
RemoteException
void parseBomTemplate() throws NXException, RemoteException
NXException
RemoteException
void populateBomListData() throws NXException, RemoteException
NXException
RemoteException
void addBomData(Component[] partOccs, String[] dataStrings) throws NXException, RemoteException
partOccs
- The part occurrences to add into BOM. Sets NULL to add the current display part into BOM list.dataStrings
- The BOM data.NXException
RemoteException
void showComponents(int rowID, Component[] partOccs) throws NXException, RemoteException
rowID
- partOccs
- The part occurrences to be shown in BOM List. Sets NULL show all part occurrences in given row in BOM List.NXException
RemoteException
void showRows(int[] rowIDs) throws NXException, RemoteException
rowIDs
- NXException
RemoteException
void ignoreComponents(int rowID, Component[] partOccs) throws NXException, RemoteException
rowID
- partOccs
- The part occurrences to be ignored in Hide List. Sets NULL to ignore all part occurrences in given row in Hide List.NXException
RemoteException
void ignoreRows(int[] rowIDs) throws NXException, RemoteException
rowIDs
- NXException
RemoteException
void sortColumn(int columnID, BomListBuilder.BomListSortOption order) throws NXException, RemoteException
columnID
- order
- NXException
RemoteException
DisplayableObject createPartsList(int[] columnWidths, Point3d point) throws NXException, RemoteException
columnWidths
- The widths of each column.point
- The position of parts list.NXException
RemoteException
String getColumnLabel(int columnID) throws NXException, RemoteException
columnID
- Column indexNXException
RemoteException
String getColumnAttribute(int columnID) throws NXException, RemoteException
columnID
- Column indexNXException
RemoteException
Component[] getPartOccs(int rowID) throws NXException, RemoteException
rowID
- NXException
RemoteException
int[] getRows(BomListBuilder.BomListTypes bomListType) throws NXException, RemoteException
ITableEditorDataProvider.rowCount()
instead.
bomListType
- NXException
RemoteException
String[] getAttributeStrings() throws NXException, RemoteException
getColumnAttribute(int)
instead.
NXException
RemoteException
void getColumn(String attrString) throws NXException, RemoteException
getColumnAttribute(int)
instead.
attrString
- NXException
RemoteException
void modifyBomData(int rowNumber, int columnNumber, String userString) throws NXException, RemoteException
ITableEditorDataProvider.setString(int, int, java.lang.String)
instead.
rowNumber
- columnNumber
- userString
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.