References > Creo Schematics 4.0 API Guide > The Component Package > Class PortShape
  
Class PortShape
This concrete class represents a picture of a port.
public class PortShape
Hierarchical Diagram
Direct Known Subclasses
None
Constructor
public PortShape()
Methods
getConnectedPortShapes
Returns an iterator of all the portshapes that are externally connected to the portshape.
public Iterator getConnectedPortShapes()
Throws: RSDException
getConnectedPortShapesVector
public Vector getConnectedPortShapesVector()
Throws: RSDException
replaceWith
Replaces this shape with another shape. The shape must be on the current sheet.
public void replaceWith (PortShapecatalogShape)
Where:
catalogShape—The replacing catalog shape.
Throws: RSDException
Methods Inherited
The methods inherited from other classes are:
Class
Methods Inherited
rsdesigner.component.Shape
getArtifact, getContainer, getDatum, getDiagramType, getTopLevelContainer
java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait