public interface WorkPlane extends NXObject
SessionPreferences.workPlane()
or PartPreferences.workplane()
Modifier and Type | Interface and Description |
---|---|
static class |
WorkPlane.Grid
Describes whether the Grid type selected is Polar or Rectangular
|
static class |
WorkPlane.GridSize
Grid size parameters
|
static class |
WorkPlane.NonuniformGridSize
Nonuniform grid size parameters
|
static class |
WorkPlane.PolarGridSize
Polar grid size parameters
|
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
WorkPlane.PolarGridSize |
getPolarGridSize()
Query the polar grid size parameters.
|
WorkPlane.NonuniformGridSize |
getRectangularNonuniformGridSize()
Query the rectangular nonuniform grid size parameters.
|
WorkPlane.GridSize |
getRectangularUniformGridSize()
Query the rectangular uniform grid size parameters.
|
int |
gridColor()
Returns the grid color.
|
boolean |
gridIsNonUniform()
Returns the grid non uniform flag.
|
boolean |
gridOnTop()
Returns the grid on top flag.
|
WorkPlane.Grid |
gridType()
Returns the grid type.
|
boolean |
polarShowMajorLines()
Returns the show major lines flag for polar grid
License requirements: None. |
boolean |
rectangularShowMajorLines()
Returns the show major lines flag for rectangular grid
License requirements: None. |
void |
setGridColor(int gridColor)
Sets the grid color.
|
void |
setGridIsNonUniform(boolean gridIsNonUniform)
Sets the grid non uniform flag.
|
void |
setGridOnTop(boolean gridOnTop)
Sets the grid on top flag.
|
void |
setGridType(WorkPlane.Grid gridType)
Sets the grid type.
|
void |
setPolarGridSize(WorkPlane.PolarGridSize polarGridSize)
Set the polar grid size parameters.
|
void |
setPolarShowMajorLines(boolean polarShowMajorLines)
Sets the show major lines flag for polar grid
License requirements: None. |
void |
setRectangularNonuniformGridSize(WorkPlane.NonuniformGridSize nonuniformGridSize)
Set the rectangular nonuniform grid size parameters.
|
void |
setRectangularShowMajorLines(boolean rectangularShowMajorLines)
Sets the show major lines flag for rectangular grid
License requirements: None. |
void |
setRectangularUniformGridSize(WorkPlane.GridSize gridSize)
Set the rectangular uniform grid size parameters.
|
void |
setShowGrid(boolean showGrid)
Sets the show and hide grid flag.
|
void |
setShowLabels(boolean showLabels)
Sets the show and hide grid labels flag.
|
void |
setSnapToGrid(boolean snapToGrid)
Sets the snap to grid flag.
|
boolean |
showGrid()
Returns the show and hide grid flag.
|
boolean |
showLabels()
Returns the show and hide grid labels flag.
|
boolean |
snapToGrid()
Returns the snap to grid flag.
|
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
boolean showGrid() throws NXException, RemoteException
NXException
RemoteException
void setShowGrid(boolean showGrid) throws NXException, RemoteException
showGrid
- NXException
RemoteException
boolean showLabels() throws NXException, RemoteException
NXException
RemoteException
void setShowLabels(boolean showLabels) throws NXException, RemoteException
showLabels
- NXException
RemoteException
boolean gridOnTop() throws NXException, RemoteException
NXException
RemoteException
void setGridOnTop(boolean gridOnTop) throws NXException, RemoteException
gridOnTop
- NXException
RemoteException
boolean snapToGrid() throws NXException, RemoteException
NXException
RemoteException
void setSnapToGrid(boolean snapToGrid) throws NXException, RemoteException
snapToGrid
- NXException
RemoteException
boolean gridIsNonUniform() throws NXException, RemoteException
NXException
RemoteException
void setGridIsNonUniform(boolean gridIsNonUniform) throws NXException, RemoteException
gridIsNonUniform
- NXException
RemoteException
boolean rectangularShowMajorLines() throws NXException, RemoteException
NXException
RemoteException
void setRectangularShowMajorLines(boolean rectangularShowMajorLines) throws NXException, RemoteException
rectangularShowMajorLines
- NXException
RemoteException
boolean polarShowMajorLines() throws NXException, RemoteException
NXException
RemoteException
void setPolarShowMajorLines(boolean polarShowMajorLines) throws NXException, RemoteException
polarShowMajorLines
- NXException
RemoteException
int gridColor() throws NXException, RemoteException
NXException
RemoteException
void setGridColor(int gridColor) throws NXException, RemoteException
gridColor
- NXException
RemoteException
WorkPlane.Grid gridType() throws NXException, RemoteException
NXException
RemoteException
void setGridType(WorkPlane.Grid gridType) throws NXException, RemoteException
gridType
- NXException
RemoteException
WorkPlane.GridSize getRectangularUniformGridSize() throws NXException, RemoteException
NXException
RemoteException
void setRectangularUniformGridSize(WorkPlane.GridSize gridSize) throws NXException, RemoteException
gridSize
- NXException
RemoteException
WorkPlane.NonuniformGridSize getRectangularNonuniformGridSize() throws NXException, RemoteException
NXException
RemoteException
void setRectangularNonuniformGridSize(WorkPlane.NonuniformGridSize nonuniformGridSize) throws NXException, RemoteException
nonuniformGridSize
- NXException
RemoteException
WorkPlane.PolarGridSize getPolarGridSize() throws NXException, RemoteException
NXException
RemoteException
void setPolarGridSize(WorkPlane.PolarGridSize polarGridSize) throws NXException, RemoteException
polarGridSize
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.