public interface MWDefineRegionsBuilder extends Builder
MWDefineRegionsCollection.createBuilder()
Property | Value |
---|---|
CreatePartingLinesToggle | 0 |
CreateRegionsToggle | 0 |
TranslucencyOption | SelectedFaces |
TranslucencyValueScale | 0 |
Modifier and Type | Interface and Description |
---|---|
static class |
MWDefineRegionsBuilder.OrCreateEmptyRegionData
This class holds the data returned from
getOrCreateEmptyRegion() |
static class |
MWDefineRegionsBuilder.TranslucencyOptionType
This enum represents the translucency is to be performed on the selected or non-selected region faces
|
Modifier and Type | Method and Description |
---|---|
int |
changeCurrentRegionName(String regionName)
Change the region name for the current region
License requirements: None. |
void |
changeEntitiesColor(TaggedObject[] entities,
int color)
Change the color of displayable entities
License requirements: None. |
void |
changeRegionFacesColor(String regionName,
int allOrUndefined,
int color)
Change the color of the faces of a region
License requirements: None. |
void |
changeRegionLayer(String regionName,
int layer)
Change the layer of the region
License requirements: None. |
String |
createNewRegion()
Create a new region
License requirements: None. |
void |
createNewRegionButton()
Button to create a new empty region
License requirements: None. |
boolean |
createPartingLinesToggle()
Returns the create parting lines toggle
License requirements: None. |
boolean |
createRegionsToggle()
Returns the create regions toggle
License requirements: None. |
void |
deleteAllExistingRegions()
Delete all existing regions
License requirements: None. |
void |
deleteRegion(String regionName)
Delete a region
License requirements: None. |
void |
displayProductBody()
Display the product body in the part file
License requirements: None. |
NXColor |
faceColor()
Returns the face color for the selected region faces
License requirements: None. |
MWDefineRegionsBuilder.OrCreateEmptyRegionData |
getOrCreateEmptyRegion()
Get or create an empty region
License requirements: None. |
void |
hookupRegionUdoAndBodyForCavityAndCore()
Hook up cavity and core region UDO objects with the corresponding sheet bodies
License requirements: None. |
void |
searchRegionButton()
Button to invoke searching region
License requirements: None. |
ScCollector |
selectRegionFaces()
Returns the region faces for defining region
License requirements: None. |
void |
setCreatePartingLinesToggle(boolean createPartingLinesToggle)
License requirements: None. |
void |
setCreateRegionsToggle(boolean createRegionsToggle)
License requirements: None. |
void |
setCurrentRegion(String regionName)
Set the current region
License requirements: None. |
void |
setFaceColor(NXColor faceColor)
License requirements: None. |
void |
setTranslucencyOption(MWDefineRegionsBuilder.TranslucencyOptionType translucencyOption)
License requirements: None. |
void |
setTranslucencyValueScale(int translucencyValueScale)
License requirements: None. |
void |
setupRegionsInfo()
Setup the UI data for defining regions
License requirements: None. |
MWDefineRegionsBuilder.TranslucencyOptionType |
translucencyOption()
Returns the translucency option for the selected or non-selected region faces
License requirements: None. |
int |
translucencyValueScale()
Returns the translucency value for the selected or non-selected region faces
License requirements: None. |
void |
updateUndefinedFaces(int changeColor)
Update the undefined faces
License requirements: None. |
void |
updateUnsewnBodiesNameAttribute(TaggedObject unsewFeatureTag,
Face[] cavityFaces)
Update name attribute for the unsew bodies of the cavity and core regions
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
void createNewRegionButton() throws NXException, RemoteException
NXException
RemoteException
ScCollector selectRegionFaces() throws NXException, RemoteException
NXException
RemoteException
void searchRegionButton() throws NXException, RemoteException
NXException
RemoteException
boolean createRegionsToggle() throws NXException, RemoteException
NXException
RemoteException
void setCreateRegionsToggle(boolean createRegionsToggle) throws NXException, RemoteException
createRegionsToggle
- NXException
RemoteException
boolean createPartingLinesToggle() throws NXException, RemoteException
NXException
RemoteException
void setCreatePartingLinesToggle(boolean createPartingLinesToggle) throws NXException, RemoteException
createPartingLinesToggle
- NXException
RemoteException
NXColor faceColor() throws NXException, RemoteException
NXException
RemoteException
void setFaceColor(NXColor faceColor) throws NXException, RemoteException
faceColor
- NXException
RemoteException
MWDefineRegionsBuilder.TranslucencyOptionType translucencyOption() throws NXException, RemoteException
NXException
RemoteException
void setTranslucencyOption(MWDefineRegionsBuilder.TranslucencyOptionType translucencyOption) throws NXException, RemoteException
translucencyOption
- NXException
RemoteException
int translucencyValueScale() throws NXException, RemoteException
NXException
RemoteException
void setTranslucencyValueScale(int translucencyValueScale) throws NXException, RemoteException
translucencyValueScale
- NXException
RemoteException
void setupRegionsInfo() throws NXException, RemoteException
NXException
RemoteException
void displayProductBody() throws NXException, RemoteException
NXException
RemoteException
String createNewRegion() throws NXException, RemoteException
NXException
RemoteException
MWDefineRegionsBuilder.OrCreateEmptyRegionData getOrCreateEmptyRegion() throws NXException, RemoteException
NXException
RemoteException
void deleteRegion(String regionName) throws NXException, RemoteException
regionName
- region object to be deletedNXException
RemoteException
void setCurrentRegion(String regionName) throws NXException, RemoteException
regionName
- current region nameNXException
RemoteException
int changeCurrentRegionName(String regionName) throws NXException, RemoteException
regionName
- region nameNXException
RemoteException
void changeRegionFacesColor(String regionName, int allOrUndefined, int color) throws NXException, RemoteException
regionName
- region nameallOrUndefined
- 1: All faces, 2: Undefined faces when regionUDO is 0color
- color for region facesNXException
RemoteException
void changeEntitiesColor(TaggedObject[] entities, int color) throws NXException, RemoteException
entities
- an array of entitiescolor
- color for entitiesNXException
RemoteException
void changeRegionLayer(String regionName, int layer) throws NXException, RemoteException
regionName
- region namelayer
- layer for region facesNXException
RemoteException
void updateUndefinedFaces(int changeColor) throws NXException, RemoteException
changeColor
- indicator for changing color tooNXException
RemoteException
void deleteAllExistingRegions() throws NXException, RemoteException
NXException
RemoteException
void updateUnsewnBodiesNameAttribute(TaggedObject unsewFeatureTag, Face[] cavityFaces) throws NXException, RemoteException
unsewFeatureTag
- Unsewn feature objectcavityFaces
- an array of cavity facesNXException
RemoteException
void hookupRegionUdoAndBodyForCavityAndCore() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.