public interface OffSheetConnectorBuilder extends Builder
PidManager.createOffSheetConnectorBuilder(nxopen.Part, nxopen.pid.OffSheetConnector)
Property | Value |
---|---|
RotateOption | Zero |
Modifier and Type | Interface and Description |
---|---|
static class |
OffSheetConnectorBuilder.ConnectionData
This class holds the data returned from
getConnection() |
static class |
OffSheetConnectorBuilder.StyleOption
the style of OSC elements.
|
Modifier and Type | Method and Description |
---|---|
String |
elementId()
Returns the current element ID of this OSC.
|
void |
flipHorizontally()
To flip a off sheet connector horizonally
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
flipVertically()
To flip a off sheet connector vertically
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
OffSheetConnectorBuilder.ConnectionData |
getConnection()
To get the connection connecting to the OSC sheet element.
|
Point2d |
getLocation()
Gets the symbol location.
|
Node |
getNode()
Get the node object of the off sheet connector builder.
|
boolean |
horizontal()
Returns the option to flip the symbol horizontally.
|
void |
linkOSC(OffSheetConnector desObject)
Links to the destination OSC.
|
Sheet |
owningSheet()
Returns the owning sheet of this sheet element.
|
void |
rotate()
To rotate a off sheet connector
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
RotateAngleOption |
rotateOption()
Returns the symbol rotation angle.
|
void |
setConnection(ConnectionEndType type,
Pipe connection,
String connectionId)
To set the connection connecting to the OSC sheet element.
|
void |
setElementId(String elementId)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setLocation(Point2d location)
Sets the symbol location.
|
void |
setOwningSheet(Sheet owningSheet)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setRotateOption(RotateAngleOption rotate)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setStyle(OffSheetConnectorBuilder.StyleOption style)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
OffSheetConnectorBuilder.StyleOption |
style()
Returns the style of OSC
License requirements: nx_pid_design_reader ("NX P and ID Design Reader") OR nx_pid_design_author ("NX P and ID Design Author") . |
TextStyleBuilder |
textStyleBuilder()
Returns the text style of the OSC.
|
boolean |
vertical()
Returns the option to flip the symbol vertically.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
OffSheetConnectorBuilder.StyleOption style() throws NXException, RemoteException
NXException
RemoteException
void setStyle(OffSheetConnectorBuilder.StyleOption style) throws NXException, RemoteException
style
- NXException
RemoteException
RotateAngleOption rotateOption() throws NXException, RemoteException
NXException
RemoteException
void setRotateOption(RotateAngleOption rotate) throws NXException, RemoteException
rotate
- NXException
RemoteException
boolean horizontal() throws NXException, RemoteException
NXException
RemoteException
boolean vertical() throws NXException, RemoteException
NXException
RemoteException
void rotate() throws NXException, RemoteException
NXException
RemoteException
void flipHorizontally() throws NXException, RemoteException
NXException
RemoteException
void flipVertically() throws NXException, RemoteException
NXException
RemoteException
Point2d getLocation() throws NXException, RemoteException
NXException
RemoteException
void setLocation(Point2d location) throws NXException, RemoteException
location
- the osc location.NXException
RemoteException
String elementId() throws NXException, RemoteException
NXException
RemoteException
void setElementId(String elementId) throws NXException, RemoteException
elementId
- NXException
RemoteException
Sheet owningSheet() throws NXException, RemoteException
NXException
RemoteException
void setOwningSheet(Sheet owningSheet) throws NXException, RemoteException
owningSheet
- NXException
RemoteException
void setConnection(ConnectionEndType type, Pipe connection, String connectionId) throws NXException, RemoteException
type
- connection
- connectionId
- NXException
RemoteException
OffSheetConnectorBuilder.ConnectionData getConnection() throws NXException, RemoteException
NXException
RemoteException
TextStyleBuilder textStyleBuilder() throws NXException, RemoteException
NXException
RemoteException
void linkOSC(OffSheetConnector desObject) throws NXException, RemoteException
desObject
- NXException
RemoteException
Node getNode() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.