public interface PortEquipmentBuilder extends Builder
PidManager.createPortEquipmentBuilder(nxopen.Part, nxopen.pid.PortEquipment)
Property | Value |
---|---|
SymbolSourceType | ReuseLibrary |
Modifier and Type | Interface and Description |
---|---|
static class |
PortEquipmentBuilder.NodeData
This class holds the data returned from
getNode() |
Modifier and Type | Method and Description |
---|---|
Port |
existingSymbol()
Returns the symbol from foundation window.
|
PortEquipmentBuilder.NodeData |
getNode()
Get the node.
|
Port |
getPort()
Get the port object of the PortEquipment builder.
|
String |
label()
Returns the tag of this port equipment.
|
boolean |
lockAspectRatio()
Returns the option to lock the aspect ratio.
|
NXObject |
needAttrOwner()
Returns the owner of need attributes group.
|
Sheet |
owningSheet()
Returns the owning sheet of this sheet element.
|
String |
portId()
Returns the current port ID of this port equipment.
|
double |
relativePercentX()
Returns the X percentage of location relative to the node.
|
double |
relativePercentY()
Returns the Y percentage of location relative to the node.
|
double |
relativeValueX()
Returns the X offset value of location relative to the node.
|
double |
relativeValueY()
Returns the Y offset value of location relative to the node.
|
double |
scale()
Returns the scale value.
|
double |
scaleX()
Returns the x scale value.
|
double |
scaleY()
Returns the y scale value.
|
void |
setExistingSymbol(Port existingSymbol)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setLockAspectRatio(boolean lockAspectRatio)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setNode(Equipment equipment,
String nodeId)
Set the node.
|
void |
setOwningSheet(Sheet owningSheet)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setPortId(String portId)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setRelativePercentX(double percentX)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setRelativePercentY(double percentY)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setRelativeValueX(double valueX)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setRelativeValueY(double valueY)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setScale(double scale)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setScaleX(double scaleX)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setScaleY(double scaleY)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setSymbolId(String symbolId)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setSymbolSourceType(SymbolSourceOption symbolSourceType)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
void |
setUseExistingID(boolean useExistingID)
License requirements: nx_pid_design_author ("NX P and ID Design Author") . |
String |
symbolId()
Returns the symbol ID of this port equipment.
|
SymbolSourceOption |
symbolSourceType()
Returns the symbol source type
License requirements: nx_pid_design_reader ("NX P and ID Design Reader") OR nx_pid_design_author ("NX P and ID Design Author") . |
boolean |
useExistingID()
Returns the option to place a duplicate symbol.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
SymbolSourceOption symbolSourceType() throws NXException, RemoteException
NXException
RemoteException
void setSymbolSourceType(SymbolSourceOption symbolSourceType) throws NXException, RemoteException
symbolSourceType
- NXException
RemoteException
String symbolId() throws NXException, RemoteException
symbolSourceType()
is SymbolSourceOption.REUSE_LIBRARY
.
NXException
RemoteException
void setSymbolId(String symbolId) throws NXException, RemoteException
symbolId
- NXException
RemoteException
String portId() throws NXException, RemoteException
NXException
RemoteException
void setPortId(String portId) throws NXException, RemoteException
portId
- NXException
RemoteException
Port existingSymbol() throws NXException, RemoteException
symbolSourceType()
is SymbolSourceOption.EXISTING_SYMBOL
.
NXException
RemoteException
void setExistingSymbol(Port existingSymbol) throws NXException, RemoteException
existingSymbol
- NXException
RemoteException
Sheet owningSheet() throws NXException, RemoteException
NXException
RemoteException
void setOwningSheet(Sheet owningSheet) throws NXException, RemoteException
owningSheet
- NXException
RemoteException
boolean useExistingID() throws NXException, RemoteException
symbolSourceType()
is SymbolSourceOption.EXISTING_SYMBOL
.
NXException
RemoteException
void setUseExistingID(boolean useExistingID) throws NXException, RemoteException
useExistingID
- NXException
RemoteException
boolean lockAspectRatio() throws NXException, RemoteException
NXException
RemoteException
void setLockAspectRatio(boolean lockAspectRatio) throws NXException, RemoteException
lockAspectRatio
- NXException
RemoteException
double scale() throws NXException, RemoteException
lockAspectRatio()
is true.
NXException
RemoteException
void setScale(double scale) throws NXException, RemoteException
scale
- NXException
RemoteException
double scaleX() throws NXException, RemoteException
lockAspectRatio()
is false.
NXException
RemoteException
void setScaleX(double scaleX) throws NXException, RemoteException
scaleX
- NXException
RemoteException
double scaleY() throws NXException, RemoteException
lockAspectRatio()
is false.
NXException
RemoteException
void setScaleY(double scaleY) throws NXException, RemoteException
scaleY
- NXException
RemoteException
String label() throws NXException, RemoteException
NXException
RemoteException
PortEquipmentBuilder.NodeData getNode() throws NXException, RemoteException
NXException
RemoteException
void setNode(Equipment equipment, String nodeId) throws NXException, RemoteException
equipment
- nodeId
- NXException
RemoteException
double relativePercentX() throws NXException, RemoteException
NXException
RemoteException
void setRelativePercentX(double percentX) throws NXException, RemoteException
percentX
- NXException
RemoteException
double relativePercentY() throws NXException, RemoteException
NXException
RemoteException
void setRelativePercentY(double percentY) throws NXException, RemoteException
percentY
- NXException
RemoteException
double relativeValueX() throws NXException, RemoteException
NXException
RemoteException
void setRelativeValueX(double valueX) throws NXException, RemoteException
valueX
- NXException
RemoteException
double relativeValueY() throws NXException, RemoteException
NXException
RemoteException
void setRelativeValueY(double valueY) throws NXException, RemoteException
valueY
- NXException
RemoteException
NXObject needAttrOwner() throws NXException, RemoteException
NXException
RemoteException
Port getPort() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.