Adams Basic Package > Adams View > View Command Language > geometry > geometry modify shape block

geometry modify shape block

Allows modification of the block object

Format:

 
geometry modify shape block
block_name =
an existing block
new_block_name =
a new block
comments =
string
corner_marker =
an existing marker
diag_corner_coords =
length

Example:

 
geometry modify shape block &
block_name =
box__1 &
new_block_name =
box__2 &
corner_marker =
marker_82 &
diag_corner_coords =
2,4,6

Description:

 
Parameter
Value Type
Description
block_name
An Existing Block
Specifies the block to modify
new_block_name
A New Block
Specifies the name of the new block
comments
String
Specifies comments for the object being created or modified.
corner_marker
An Existing Marker
Specifies the marker that defines the anchor point for the definition of a block.
diag_corner_coords
Length
Specifies the location (x, y, z) of the opposite diagonal corner from the corner_marker for a block. These coordinates are with respect to the corner marker x, y, and z axes. This location, along with the corner_marker, define the boundaries of the block.

Extended Definition:

1. A block is a box with parallel edges and orthogonal vertices. You position and orient a block by means of a corner marker. You specify the dimensions of the box by supplying three coordinates for the opposite corner.
2. Specifies the block to modify. You use this parameter to identify the existing block to affect with this command.
You may identify a block by typing its name or by picking it from the screen.
If the block is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the block is displayed.
If you created the block by reading an Adams data set or graphics file, the block name is the letters BOX followed by the Adams data set block ID number. The name of Adams GRAPHIC/101, BOX is BOX101, for example. If you created the block during preprocessing, you gave it a name at that time.
If a block 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 block under a different part, for instance, you may need to enter the model and part names as well. For example, you may specify block 101 from the model named test, on the part name arm, by entering ".test.arm.box101". If you type a "?", Adams View will list the blocks available by default.
You must separate multiple block names by commas.
If the block is visible in one of your views, you may identify it by picking it.
3. Specifies the name of the new block. You may use this name later to refer to this block. Adams View will not allow you to have two blocks 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 (e.g. 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.
4. These coordinates are with respect to the corner marker x, y, and z axes. This location, along with the corner_marker, define the boundaries of the block.

Cautions:

1. You need not separate multiple block picks by commas.