constraint copy
Allows you to create a replica constraint within the same model.
Format:
constraint copy |
|---|
constraint_name = | existing constraint |
new_constraint_name = | new constraint name |
Example:
constraint copy & |
|---|
constraint_name = | joint_1 & |
new_constraint_name = | copy_joint_1 |
Description:
Parameter | Value Type | Description |
|---|
Constraint_name | Existing constraint | Specifies the constraint to delete. |
new_constraint_name | New constraint name | Specifies the name of the new constraint. |
Extended Definition:
1. Any Adams View object you delete, may be "undeleted" by using the UNDO commands. If you have deleted something you would like back, enter the command "undo backward", or pick on the fixed menu entry 'UNDO'.
■You may identify a constraint by typing its name or by picking it from the screen.
■If the constraint is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the constraint is displayed.
■If you created the constraint by reading an Adams data set, the constraint name is the first three letters of the Adams statement type followed by the Adams data set constraint ID number. The name of Adams joint/101 is JOI101, for example. If you created the constraint during preprocessing, you gave it a name at that time.
■If a constraint is available by default, you may identify it by entering its name only. If it is not, you must enter its full name.
■To identify a constraint under a different model, for instance, you may need to enter the model name as well. For example, you may specify constraint 'servo_motor' from model 'test' by entering ".test.servo_motor". If you type a "?", Adams View will list the constraints available by default.
■You must separate multiple constraint names by commas.
■If the constraint is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
■You need not separate multiple constraint picks by commas.
2. Adams View will not allow you to have two constraints with the same full name, so you must provide a unique name.
Normally, entity names are composed of alphabetic, numeric, or '_' (underscore) characters, and start with an alphabetic or '_' character. They may be any length. For more information, see
Using Extended Names.
By enclosing the name in double quotes, you may use other printable characters, or start the name with a numeral. If a name contains characters, or starts with a numeral, you must always quote the name when entering it.
Note that you can specify the parentage of an entity (for example, what part "owns" a marker or a geometry element) when you create it by changing the name. If you enter just the entity name, then the default parent will be assigned by Adams View. If you type in the full name, then you may over ride the default parent. In most cases, when creating an entity, Adams View will provide a default name. The default name that Adams View provides will specify the parentage that it has assumed. You may, or course, delete this name and use your own. The form of a full name is:
"...._NAME.GRAND_PARENT_NAME.PARENT_NAME.ENTITY_NAME"
The number of levels used varies from case to case and the parentage must exist before an entity can be assigned to it.
3. This replica constraint will be identical to the original with the exception of the constraint name. Constraints must have unique names relative to other constraints in a given model. The replica will be completely independent of the original, and may be modified without effecting the original.
When the new constraint is created, it uses the same markers or joints as the original. A first step after the copy of a joint constraint might be to modify the I and J markers on the replica.
Constraints may not be copied from model to model.
Tip: | You may use the new_constraint_name later to refer to the constraint. |