public interface SteelFeatureSpreadsheetBuilder extends Builder
SteelFeatureSpreadsheetBuilder
builder.
It is used to manage the data contained in the ship sketch based steel feature block.
Modifier and Type | Method and Description |
---|---|
void |
cacheSpreadsheetData()
This method caches parameter data from spreadsheet to the builder.
|
void |
deleteImportedSketch()
This method deletes the imported sketch which is unwanted any longer.
|
void |
editParameter(String parameterName,
String parameterValue)
This method simply changes the value of a parameter.
|
void |
editPrimaryParameter(String parameterName,
String parameterValue)
This method changes the value of a parameter and queries from the spread sheet to update
the related parameter values.
|
String[] |
getAvailableSectionTypes()
This method finds the available section types for the current context data.
|
Feature[] |
getImportedSketches()
This method retrieves all the features that are imported into current work part.
|
SpreadsheetDataParameter[] |
getParameterValues()
This method retrieves all the parameter values related to the current imported
sketch template.
|
SpreadsheetData |
getSpreadsheetData()
It retrieves the KRUSpreadsheetData object to the builder.
|
void |
importSketch()
Thie method reads the model file name from the spread sheet, imports the sketch template
into current work part, and updates the attribute values and expresseion values from the
data spreadsheet.
|
void |
resetBuilderData()
This method cleans up the imported features from current work part, also it rereads
the data file and registration.
|
void |
restoreSpreadsheetData()
This method restores parameter data inside the builder.
|
int |
sectionType()
Deprecated.
Deprecated in NX8.5.0. Removed with no replacement
|
void |
setContextEntity(TaggedObject contextEntity)
Set the context entity on which the context attribute is stored.
|
void |
setPossibleContextAttribute(int possibleContextAttributeIndex,
String possibleContextAttribute)
Set a possible context attribute (assuming the context entity has not yet been created).
|
void |
setPossibleContextAttributeCount(int possibleContextAttributeCount)
Set the possible context attribute count (assuming the context entity has not yet been created).
|
void |
setRuleInputs(String[] inputNames,
String[] inputValues)
This method sets the rule inputs.
|
void |
setsDefaultTypesFromContext()
Set default section types of the builder when a new context entity is set.
|
void |
setSectionSubType1(String strSectionType)
Sets the section sub type by string value.
|
void |
setSectionSubType2(String strSectionType)
Sets the section sub type2 by string value.
|
void |
setSectionType(int nSectionType)
Deprecated.
Deprecated in NX8.5.0. Use
SteelFeatureSpreadsheetBuilder .SetSectionType()
|
void |
setSectionType(String strSectionType)
This method sets the section type outside the block.
|
void |
setSpreadsheetData(SpreadsheetData pKRUData)
It sets the KRUSpreadsheetData object to the builder.
|
void |
setSteelFeatureType(String steelFeatureType)
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design") . |
String |
steelFeatureType()
Returns
the steel feature type (eg: Profile, Edge Reinforcement, etc)
License requirements: nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design") . |
void |
updateParametersUsingRules()
This method updates the parameters in the steel feature data spreadsheet using parameters rules.
|
void |
updateSpreadsheetData(String[] paramNames,
String[] paramValues)
This method takes parameter name and parameter value pairs as input and updates the related
geometries by updating the expressions, i.e. sketches.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
void setContextEntity(TaggedObject contextEntity) throws NXException, RemoteException
contextEntity
- NXException
RemoteException
void setPossibleContextAttributeCount(int possibleContextAttributeCount) throws NXException, RemoteException
possibleContextAttributeCount
- the number of possible context attributes (use this before setting each possible context attribute via SetPossibleContextAttribute)NXException
RemoteException
void setPossibleContextAttribute(int possibleContextAttributeIndex, String possibleContextAttribute) throws NXException, RemoteException
possibleContextAttributeIndex
- the index into the possible context attribute array we wish to setpossibleContextAttribute
- NXException
RemoteException
int sectionType() throws NXException, RemoteException
NXException
RemoteException
void setSectionType(int nSectionType) throws NXException, RemoteException
SteelFeatureSpreadsheetBuilder
.SetSectionType()
nSectionType
- NXException
RemoteException
void setSectionType(String strSectionType) throws NXException, RemoteException
strSectionType
- NXException
RemoteException
void setSectionSubType1(String strSectionType) throws NXException, RemoteException
strSectionType
- NXException
RemoteException
void setSectionSubType2(String strSectionType) throws NXException, RemoteException
strSectionType
- NXException
RemoteException
void setsDefaultTypesFromContext() throws NXException, RemoteException
NXException
RemoteException
void importSketch() throws NXException, RemoteException
NXException
RemoteException
Feature[] getImportedSketches() throws NXException, RemoteException
NXException
RemoteException
void editPrimaryParameter(String parameterName, String parameterValue) throws NXException, RemoteException
parameterName
- the parameter nameparameterValue
- the parameter valueNXException
RemoteException
void editParameter(String parameterName, String parameterValue) throws NXException, RemoteException
parameterName
- the parameter nameparameterValue
- the parameter valueNXException
RemoteException
SpreadsheetDataParameter[] getParameterValues() throws NXException, RemoteException
NXException
RemoteException
SpreadsheetData getSpreadsheetData() throws NXException, RemoteException
NXException
RemoteException
void setSpreadsheetData(SpreadsheetData pKRUData) throws NXException, RemoteException
pKRUData
- NXException
RemoteException
void resetBuilderData() throws NXException, RemoteException
NXException
RemoteException
void cacheSpreadsheetData() throws NXException, RemoteException
NXException
RemoteException
void updateSpreadsheetData(String[] paramNames, String[] paramValues) throws NXException, RemoteException
paramNames
- paramValues
- NXException
RemoteException
void restoreSpreadsheetData() throws NXException, RemoteException
NXException
RemoteException
String[] getAvailableSectionTypes() throws NXException, RemoteException
NXException
RemoteException
String steelFeatureType() throws NXException, RemoteException
NXException
RemoteException
void setSteelFeatureType(String steelFeatureType) throws NXException, RemoteException
steelFeatureType
- NXException
RemoteException
void setRuleInputs(String[] inputNames, String[] inputValues) throws NXException, RemoteException
inputNames
- inputValues
- NXException
RemoteException
void updateParametersUsingRules() throws NXException, RemoteException
NXException
RemoteException
void deleteImportedSketch() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.