References > Creo Schematics 4.0 API Guide > The Component Package > Class Group
  
Class Group
This concrete class represents an assembly of artifacts.
public class Group
extends Component
Hierarchical Diagram
Direct Known Subclasses
None
Constructor
public Group()
Methods
getMembers
Returns an iterator of arrays. Each entry in the iterator is a four-element array containing member, index, varindex, and sys_id of the pseudo-prototype.
public Iterator getMembers()
Throws: RSDException
getMembersVector
Returns a vector of all members that belong to the group.
public Vector getMembersVector()
Throws: RSDException
fixIndexOfSelectionInReport
Fixes the indexes of the ports that are selected in the report.
public static void fixIndexOfSelectionInReport()
Throws: RSDException
fixIndexOfSelectedShape
Fixes the index of the port of the shape selected in the design.
public static void fixIndexOfSelectedShape()
Throws: RSDException
compactVarIndex
Compacts the variable indices of all members of the selected variable group.
public static void compactVarIndex()
Throws: RSDException
resetAllObsoletePorts
Lists the ports present in the selected variable group that are marked obsolete. On updating the status of the ports, the listed ports are deleted from the database.
public static void resetAllObsoletePorts()
Throws: RSDException
resetObsoleteOfSelectionInReport
Resets the obsolete status of the objects selected in the report.
public static void resetObsoleteOfSelectionInReport()
Throws: RSDException
resetObsoleteOfSelectedShape
Resets the obsolete status of the selected shape.
public static void resetObsoleteOfSelectedShape()
Throws: RSDException
hasShapes
Returns a string that indicates whether the selected group is placed on either a Block Interconnection Diagram (BID) sheet or a Wiring Interconnection Diagram (WID) sheet.
public static String hasShapes(Artifact Art)
Where:
Art—The group selected in the design.
Throws: RSDException
numPorts
Returns the number of ports that are present in the group.
public string String numPorts(Artifact Art)
Where:
Art—The group selected in the design.
Throws: RSDException
Methods Inherited
The methods inherited from other classes are:
Class
Methods Inherited
rsdesigner.component.Component
getConnectedPorts, getPorts, inPrototypeParent
rsdesigner.component.Artifact
getContainer, getName, getShapes, getTopLevelContainer
rsdesigner.design.PropertySet
getIntegerProperty, getProperties, getProperty, getRealProperty, getStringProperty, getType
java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait