public interface PartDrafting extends Remote
PartPreferences
Modifier and Type | Interface and Description |
---|---|
static class |
PartDrafting.BreakLineStyle
Describes the available break line style
|
static class |
PartDrafting.FontType
Describes the available font types
|
static class |
PartDrafting.UpdateViewWithoutLwDataOption
Describes the update view without light weight data options
|
static class |
PartDrafting.ViewStyleType
Describes the available view style types for preview
|
static class |
PartDrafting.WidthType
Describes the available width types
|
Modifier and Type | Method and Description |
---|---|
NXColor |
activeViewColor()
Returns the drafting active view color.
|
boolean |
associativeAlignment()
Returns the flag indicating whether to associatively align the view when placing it
License requirements: None. |
int |
borderColor()
Returns the drafting view border color.
|
double |
breakLineAmplitude()
Returns the break line amplitude.
|
NXColor |
breakLineColor()
Returns the break line color.
|
double |
breakLineExtension()
Returns
License requirements: None. |
double |
breakLineGap()
Returns the break line gap.
|
boolean |
breakLinesVisibility()
Returns the break lines visibility.
|
PartDrafting.BreakLineStyle |
breakLineType()
Returns the break line type.
|
int |
breakLineWidth()
Returns the break line width.
|
int |
color()
Returns the color of the retained
nxopen.annotations.Annotation objects. |
boolean |
customSymbolSmashToSketch()
Returns the custom symbol smash behavior.
|
boolean |
delayUpdateOnCreation()
Returns the flag indicating whether the newly created views should update immediately even
when the view update is delayed.
|
boolean |
delayViewUpdate()
Returns the flag indicating whether to delay update of the drafting views during system
initiated drawing updates
License requirements: None. |
String |
delimiter()
Returns the delimiter
License requirements: None. |
boolean |
displayBorders()
Returns the flag indicating whether to display borders around drafting views, when selected
License requirements: None. |
boolean |
enableSmoothEdgesForLWView()
Returns the flat indicating whether the smart lightweight views should show the smooth edges
or render them as normal curves
License requirements: None. |
PartDrafting.FontType |
font()
Returns the line font of the retained
nxopen.annotations.Annotation objects
License requirements: None. |
int |
frameBarPrecision()
Returns the frame bar precision.
|
int |
frameBarTicDirection()
Returns the frame bar tic direction.
|
String |
initialSecondaryNumber()
Returns the initial secondary number
License requirements: None. |
String |
initialSheetNumber()
Returns the initial sheet number
License requirements: None. |
boolean |
lineAntialiasing()
Returns the flag indicating whether to display drawing using line antialiasing.
|
int |
minimumComponentsForLargeAssemblyOption()
Returns the minimum number of components for large assembly option to get enabled
License requirements: None. |
boolean |
propagateBreakLines()
Returns the propagation of view break.
|
boolean |
retainAnnotations()
Returns the flag indicating whether to retain
nxopen.annotations.Annotation objects
when the geometry they are attached to is deleted. |
void |
setActiveViewColor(NXColor borderColor)
Sets the drafting active view color.
|
void |
setAssociativeAlignment(boolean associativeAlignment)
Sets the flag indicating whether to associatively align the view when placing it
License requirements: None. |
void |
setBorderColor(int borderColor)
Sets the drafting view border color.
|
void |
setBreakLineAmplitude(double amplitude)
Sets the break line amplitude.
|
void |
setBreakLineColor(NXColor color)
Sets the break line color.
|
void |
setBreakLineExtension(double extension)
Sets
License requirements: None. |
void |
setBreakLineGap(double gap)
Sets the break line gap.
|
void |
setBreakLinesVisibility(boolean isVisible)
Sets the break lines visibility.
|
void |
setBreakLineType(PartDrafting.BreakLineStyle lineType)
Sets the break line type.
|
void |
setBreakLineWidth(int width)
Sets the break line width.
|
void |
setColor(int color)
Sets the color of the retained
nxopen.annotations.Annotation objects. |
void |
setCustomSymbolSmashToSketch(boolean isSmashToSketch)
Sets the custom symbol smash behavior.
|
void |
setDelayUpdateOnCreation(boolean isDelayUpdateOnCreationOn)
Sets the flag indicating whether the newly created views should update immediately even
when the view update is delayed.
|
void |
setDelayViewUpdate(boolean isDelayViewUpdateOn)
Sets the flag indicating whether to delay update of the drafting views during system
initiated drawing updates
License requirements: None. |
void |
setDelimiter(String delimiter)
Sets the delimiter
License requirements: None. |
void |
setDisplayBorders(boolean displayBorders)
Sets the flag indicating whether to display borders around drafting views, when selected
License requirements: None. |
void |
setEnableSmoothEdgesForLWView(boolean enableSmoothEdges)
Sets the flat indicating whether the smart lightweight views should show the smooth edges
or render them as normal curves
License requirements: None. |
void |
setFont(PartDrafting.FontType font)
Sets the line font of the retained
nxopen.annotations.Annotation objects
License requirements: None. |
void |
setFrameBarPrecision(int precision)
Sets the frame bar precision.
|
void |
setFrameBarTicDirection(int ticDirection)
Sets the frame bar tic direction.
|
void |
setInitialSecondaryNumber(String initialSecondaryNumber)
Sets the initial secondary number
License requirements: None. |
void |
setInitialSheetNumber(String initialSheetNumber)
Sets the initial sheet number
License requirements: None. |
void |
setLineAntialiasing(boolean lineAntialiasing)
Sets the flag indicating whether to display drawing using line antialiasing.
|
void |
setMinimumComponentsForLargeAssemblyOption(int minComponents)
License requirements: None. |
void |
setPropagateBreakLines(boolean doesPropagate)
Sets the propagation of view break.
|
void |
setRetainAnnotations(boolean retainAnnotations)
Sets the flag indicating whether to retain
nxopen.annotations.Annotation objects
when the geometry they are attached to is deleted. |
void |
setShowFacetEdges(boolean showFacetEdges)
Sets the flag indicating whether to display facet edges in shaded member views.
|
void |
setTranslucency(boolean translucency)
Sets the flag indicating whether to display solids in shaded member views with translucency.
|
void |
setUpdateViewWithoutLwData(PartDrafting.UpdateViewWithoutLwDataOption updateViewWithoutLWDataOption)
Sets the option specifying the action when missing, incomplete or invalid lightweight
bodies are found during view create or update
License requirements: None. |
void |
setVersionObjects(boolean versonObjects)
Sets the drafting version objects setting when updating drafting objects and member views
License requirements: None. |
void |
setViewStyle(PartDrafting.ViewStyleType viewStyle)
Sets the drafting view style type for preview when placing the view
License requirements: None. |
void |
setViewTracking(boolean viewTracking)
Sets the flag indicating whether to track a drafting view during preview
when placing the view.
|
void |
setWidth(PartDrafting.WidthType width)
Sets the line width of the retained
nxopen.annotations.Annotation objects
License requirements: None. |
boolean |
showFacetEdges()
Returns the flag indicating whether to display facet edges in shaded member views.
|
boolean |
translucency()
Returns the flag indicating whether to display solids in shaded member views with translucency.
|
PartDrafting.UpdateViewWithoutLwDataOption |
updateViewWithoutLwData()
Returns the option specifying the action when missing, incomplete or invalid lightweight
bodies are found during view create or update
License requirements: None. |
boolean |
versionObjects()
Returns the drafting version objects setting when updating drafting objects and member views
License requirements: None. |
PartDrafting.ViewStyleType |
viewStyle()
Returns the drafting view style type for preview when placing the view
License requirements: None. |
boolean |
viewTracking()
Returns the flag indicating whether to track a drafting view during preview
when placing the view.
|
PartDrafting.WidthType |
width()
Returns the line width of the retained
nxopen.annotations.Annotation objects
License requirements: None. |
boolean delayViewUpdate() throws NXException, RemoteException
NXException
RemoteException
void setDelayViewUpdate(boolean isDelayViewUpdateOn) throws NXException, RemoteException
isDelayViewUpdateOn
- NXException
RemoteException
boolean delayUpdateOnCreation() throws NXException, RemoteException
NXException
RemoteException
void setDelayUpdateOnCreation(boolean isDelayUpdateOnCreationOn) throws NXException, RemoteException
isDelayUpdateOnCreationOn
- NXException
RemoteException
PartDrafting.UpdateViewWithoutLwDataOption updateViewWithoutLwData() throws NXException, RemoteException
NXException
RemoteException
void setUpdateViewWithoutLwData(PartDrafting.UpdateViewWithoutLwDataOption updateViewWithoutLWDataOption) throws NXException, RemoteException
updateViewWithoutLWDataOption
- NXException
RemoteException
boolean enableSmoothEdgesForLWView() throws NXException, RemoteException
NXException
RemoteException
void setEnableSmoothEdgesForLWView(boolean enableSmoothEdges) throws NXException, RemoteException
enableSmoothEdges
- NXException
RemoteException
boolean displayBorders() throws NXException, RemoteException
NXException
RemoteException
void setDisplayBorders(boolean displayBorders) throws NXException, RemoteException
displayBorders
- NXException
RemoteException
int borderColor() throws NXException, RemoteException
NXException
RemoteException
void setBorderColor(int borderColor) throws NXException, RemoteException
borderColor
- NXException
RemoteException
boolean retainAnnotations() throws NXException, RemoteException
nxopen.annotations.Annotation
objects
when the geometry they are attached to is deleted. When false, the nxopen.annotations.Annotation
objects get deleted with the geometry.
NXException
RemoteException
void setRetainAnnotations(boolean retainAnnotations) throws NXException, RemoteException
nxopen.annotations.Annotation
objects
when the geometry they are attached to is deleted. When false, the nxopen.annotations.Annotation
objects get deleted with the geometry.
retainAnnotations
- NXException
RemoteException
int color() throws NXException, RemoteException
nxopen.annotations.Annotation
objects.
The value should be between 1 and 216.
NXException
RemoteException
void setColor(int color) throws NXException, RemoteException
nxopen.annotations.Annotation
objects.
The value should be between 1 and 216.
color
- NXException
RemoteException
PartDrafting.FontType font() throws NXException, RemoteException
nxopen.annotations.Annotation
objects
NXException
RemoteException
void setFont(PartDrafting.FontType font) throws NXException, RemoteException
nxopen.annotations.Annotation
objects
font
- NXException
RemoteException
PartDrafting.WidthType width() throws NXException, RemoteException
nxopen.annotations.Annotation
objects
NXException
RemoteException
void setWidth(PartDrafting.WidthType width) throws NXException, RemoteException
nxopen.annotations.Annotation
objects
width
- NXException
RemoteException
PartDrafting.ViewStyleType viewStyle() throws NXException, RemoteException
NXException
RemoteException
void setViewStyle(PartDrafting.ViewStyleType viewStyle) throws NXException, RemoteException
viewStyle
- NXException
RemoteException
boolean versionObjects() throws NXException, RemoteException
NXException
RemoteException
void setVersionObjects(boolean versonObjects) throws NXException, RemoteException
versonObjects
- NXException
RemoteException
boolean viewTracking() throws NXException, RemoteException
NXException
RemoteException
void setViewTracking(boolean viewTracking) throws NXException, RemoteException
viewTracking
- NXException
RemoteException
String initialSheetNumber() throws NXException, RemoteException
NXException
RemoteException
void setInitialSheetNumber(String initialSheetNumber) throws NXException, RemoteException
initialSheetNumber
- NXException
RemoteException
String initialSecondaryNumber() throws NXException, RemoteException
NXException
RemoteException
void setInitialSecondaryNumber(String initialSecondaryNumber) throws NXException, RemoteException
initialSecondaryNumber
- NXException
RemoteException
String delimiter() throws NXException, RemoteException
NXException
RemoteException
void setDelimiter(String delimiter) throws NXException, RemoteException
delimiter
- NXException
RemoteException
boolean translucency() throws NXException, RemoteException
NXException
RemoteException
void setTranslucency(boolean translucency) throws NXException, RemoteException
translucency
- NXException
RemoteException
boolean lineAntialiasing() throws NXException, RemoteException
NXException
RemoteException
void setLineAntialiasing(boolean lineAntialiasing) throws NXException, RemoteException
lineAntialiasing
- NXException
RemoteException
boolean showFacetEdges() throws NXException, RemoteException
NXException
RemoteException
void setShowFacetEdges(boolean showFacetEdges) throws NXException, RemoteException
showFacetEdges
- NXException
RemoteException
NXColor activeViewColor() throws NXException, RemoteException
NXException
RemoteException
void setActiveViewColor(NXColor borderColor) throws NXException, RemoteException
borderColor
- NXException
RemoteException
PartDrafting.BreakLineStyle breakLineType() throws NXException, RemoteException
NXException
RemoteException
void setBreakLineType(PartDrafting.BreakLineStyle lineType) throws NXException, RemoteException
lineType
- NXException
RemoteException
double breakLineAmplitude() throws NXException, RemoteException
NXException
RemoteException
void setBreakLineExtension(double extension) throws NXException, RemoteException
extension
- NXException
RemoteException
double breakLineExtension() throws NXException, RemoteException
NXException
RemoteException
void setBreakLineAmplitude(double amplitude) throws NXException, RemoteException
amplitude
- NXException
RemoteException
double breakLineGap() throws NXException, RemoteException
NXException
RemoteException
void setBreakLineGap(double gap) throws NXException, RemoteException
gap
- NXException
RemoteException
int breakLineWidth() throws NXException, RemoteException
NXException
RemoteException
void setBreakLineWidth(int width) throws NXException, RemoteException
width
- NXException
RemoteException
NXColor breakLineColor() throws NXException, RemoteException
NXException
RemoteException
void setBreakLineColor(NXColor color) throws NXException, RemoteException
color
- NXException
RemoteException
boolean propagateBreakLines() throws NXException, RemoteException
NXException
RemoteException
void setPropagateBreakLines(boolean doesPropagate) throws NXException, RemoteException
doesPropagate
- NXException
RemoteException
boolean breakLinesVisibility() throws NXException, RemoteException
NXException
RemoteException
void setBreakLinesVisibility(boolean isVisible) throws NXException, RemoteException
isVisible
- NXException
RemoteException
boolean customSymbolSmashToSketch() throws NXException, RemoteException
NXException
RemoteException
void setCustomSymbolSmashToSketch(boolean isSmashToSketch) throws NXException, RemoteException
isSmashToSketch
- NXException
RemoteException
int frameBarTicDirection() throws NXException, RemoteException
NXException
RemoteException
void setFrameBarTicDirection(int ticDirection) throws NXException, RemoteException
ticDirection
- NXException
RemoteException
int frameBarPrecision() throws NXException, RemoteException
NXException
RemoteException
void setFrameBarPrecision(int precision) throws NXException, RemoteException
precision
- NXException
RemoteException
boolean associativeAlignment() throws NXException, RemoteException
NXException
RemoteException
void setAssociativeAlignment(boolean associativeAlignment) throws NXException, RemoteException
associativeAlignment
- NXException
RemoteException
int minimumComponentsForLargeAssemblyOption() throws NXException, RemoteException
NXException
RemoteException
void setMinimumComponentsForLargeAssemblyOption(int minComponents) throws NXException, RemoteException
minComponents
- Minimum number of components for large assembly optionNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.