Specifying operations to be applied to the attributes of a set of objects
First Claim
1. A computer-implemented method for performing an operation on a set of graphical components in a computer-aided design (CAD) application executing on a computer system, the method comprising the steps of:
- detecting that a statement includes;
an operation identifier that specifies said operation,pattern matching criteria comprising an identifier associated with a container object that is associated with one or more graphical components, andan attribute identifier that identifies an attribute; and
executing said statement byidentifying said set of graphical components that satisfy said pattern matching criteria, wherein a graphical component satisfies said pattern matching criteria when the graphical component is one of the one or more graphical components associated with the container object, and wherein said set of graphical components includes at least two graphical components,performing said operation on said attribute of each graphical component in said set of graphical components that satisfy said pattern matching criteria,generating a frame within an animation by altering state information corresponding to each graphical component in said set of graphical components, anddisplaying said frame on a display device or storing said frame in a memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus are provided for specifying that an operation should be performed on an attribute of each object of a group of objects. A statement, for example, in a script, specifies an operation to perform on an attribute of a set of objects. The statement may specify the set in a variety of ways that may be easier to program. According to an aspect of the present invention, the statement may specify an operation identifier and pattern matching criteria for identifiers associated with objects. Objects that are associated with identifiers that satisfy the pattern matching criteria are identified, and for each identified object, the operation is applied to the attribute of the object. According to another aspect of the present invention, the statement may specify an operation identifier and an identifier associated with a collection of objects. The operation is applied to the objects that belong to the collection of objects.
-
Citations
20 Claims
-
1. A computer-implemented method for performing an operation on a set of graphical components in a computer-aided design (CAD) application executing on a computer system, the method comprising the steps of:
-
detecting that a statement includes; an operation identifier that specifies said operation, pattern matching criteria comprising an identifier associated with a container object that is associated with one or more graphical components, and an attribute identifier that identifies an attribute; and executing said statement by identifying said set of graphical components that satisfy said pattern matching criteria, wherein a graphical component satisfies said pattern matching criteria when the graphical component is one of the one or more graphical components associated with the container object, and wherein said set of graphical components includes at least two graphical components, performing said operation on said attribute of each graphical component in said set of graphical components that satisfy said pattern matching criteria, generating a frame within an animation by altering state information corresponding to each graphical component in said set of graphical components, and displaying said frame on a display device or storing said frame in a memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented method for performing an operation on collections of graphical components in a computer-aided design (CAD) application executing on a computer system, the method comprising the steps of:
-
detecting that a statement includes; an operation identifier that specifies said operation, an identifier associated with a container object that that is associated with a collection of graphical components, and an attribute identifier that identifies an attribute of a member graphical component of said collection of graphical components; and executing said statement by identifying member graphical components of said collection of graphical components, wherein said collection of graphical components includes at least two graphical components, and wherein a graphical component comprises a member graphical component when the graphical component is included in the collection of graphical components associated with the container object, performing said operation on said attribute of each graphical component of said identified member graphical components, generating a frame within an animation by altering state information corresponding to each graphical component of said identified member graphical components, and displaying said frame on a display device or storing said frame in a memory. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable storage medium storing one or more sequences of one or more instructions that, when executed by one or more processors, cause a computer system to execute an operation on a set of graphical components, by performing the steps of:
-
detecting that a statement includes; an operation identifier that specifies said operation, pattern matching criteria comprising an identifier associated with a container object that is associated with one or more graphical components, and an attribute identifier that identifies an attribute; and executing said statement by identifying all graphical components that satisfy said pattern matching criteria, wherein a graphical component satisfies said pattern matching criteria when the graphical component is one of the one or more graphical components associated with the container object, and wherein at least two graphical components satisfy said pattern matching criteria, performing said operation on said attribute of each of said graphical components that satisfy said pattern matching criteria, generating a frame within an animation by altering state information corresponding to each graphical component in said set of graphical components, and displaying said frame on a display device or storing said frame in a memory. - View Dependent Claims (15, 16, 17)
-
-
18. A non-transitory computer-readable storage medium storing one or more sequences of one or more instructions that, when executed by one or more processors, cause a computer system to execute an operation on collections of graphical components, by performing the steps of:
-
detecting that a statement includes; an operation identifier that specifies said operation, an identifier associated with a container object that that is associated with a collection of graphical components, and an attribute identifier that identifies an attribute of a member object of said collection of graphical components; and executing said statement by identifying member graphical components of said collection of graphical components, wherein said collection of graphical components includes at least two graphical components, and wherein a graphical component comprises a member graphical component when the graphical component is included in the collection of graphical components associated with the container object, performing said operation on said attribute of each graphical component of said identified member graphical components, generating a frame within an animation by altering state information corresponding to each graphical component of said identified member graphical components, and displaying said frame on a display device or storing said frame in a memory. - View Dependent Claims (19, 20)
-
Specification