era
Masks the elements based on the arguments supplied from the model loaded in the active window.
The model file must be loaded to use this command.
Syntax
era <argument1> <argument2> <argument n>
Inputs
- all
- Masks all the elements of the model.
- ele all
- Masks all the elements of the model.
- ele <id>
- Masks the element with the <id> from the model. If the element with that <id> is non-existent then nothing happens. No error message is output.
- 1D/1d all
- Masks all the 1D elements from the model. If no 1D elements are in the model then no error message is output.
- 1D/1d <id>
- Masks the 1D element with the specified <id> from the model. If the 1D element with that <id> is non-existent then nothing happens. No error message is output.
- quad4 all
- Masks all the elements of configuration QUAD4 from the model. If no element of the specified configuration is present in the model then no error message is output.
- quad4 <id>
- Masks the element having configuration QUAD4 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- quad8 all
- Masks all the elements of configuration QUAD8 from the model. If no element of the specified configuration is present in the model then no error message is output.
- quad8 <id>
- Masks the element having configuration QUAD8 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- tria3 all
- Masks all the elements of configuration TRIA3 from the model. If no element of the specified configuration is present in the model then no error message is output.
- tria3 <id>
- Masks the element having configuration TRIA3 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- tria6 all
- Masks all the elements of configuration TRIA6 from the model. If no element of the specified configuration is present in the model then no error message is output.
- tria6 <id>
- Masks the element having configuration TRIA6 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- 3D/3d all
- Masks all the 3D elements from the model. If no element of the specified dimension is present in the model then no error message is output.
- 3D/3d <id>
- Masks the 3D element having the specified <id> from the model. If no element of the specified dimension and <id> is present in the model then no error message is output.
- 2D/2d all
- Masks all the 2D elements from the model. If no element of the specified dimension is present in the model then no error message is output.
- 2D/2d <id>
- Masks the 2D element having the specified <id> from the model. If no element of the specified dimension and <id> is present in the model then no error message is output.
- comp <compname>
- Masks all the elements in the component having the specified name. If the component having the specified name is non-existent then the message "The component with name compname does not exist" is displayed.
- comp <id>
- Masks all the elements in the component having the specified <id>. If the component having the specified <id> is non-existent then the message "The component with id <id> does not exist" is displayed.
- gro <grpname>
- Masks the elements in the group having the name <grpname>
- bar all
- Masks all 1D elements from the model. If no element of the specified dimension is present in the model then no error message is output.
- bar <id>
- Masks the 1D element having the specified <id> from the model. If no element of the specified dimension and <id> is present in the model then no error message is output.
- quad all
- Masks all the QUAD4 and QUAD8 elements in the model. If no elements having a QUAD config are present in the model then no error message is output.
- quad <id>
- Masks the 2D element of any QUAD config having the specified <id>. If the element with the specified <id> is not present in the model then no error message is output.
- tria all
- Masks all the TRIA3 and TRIA6 elements in the model. If no elements having a TRIA config are present in the model then no error message is output.
- tria <id>
- Masks the 2D element of any TRIA config having the specified <id>. If the element with the specified <id> is not present in the model then no error message is output.
- tetra all
- Masks all the TETRA4 and TETRA10 elements in the model. If no elements having a TETRA config are present in the model then no error message is output.
- tetra <id>
- Masks the 3D element of any TETRA config having the specified <id>. If the element with the specified <id> is not present in the model then no error message is output.
- tetra4 all
- Masks all the elements of configuration TETRA4 from the model. If no element of the specified configuration is present in the model then no error message is output.
- tetra4 <id>
- Masks the element having configuration TETRA4 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- tetra10 all
- Masks all the elements of configuration TETRA10 from the model. If no element of the specified configuration is present in the model then no error message is output.
- tetra10 <id>
- Masks the element having configuration TETRA10 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- hex all
- Masks all the HEX8 and HEX20 elements in the model. If no elements having a HEX config are present in the model then no error message is output.
- hex <id>
- Masks the 3D element of any HEX config having the specified <id>. If the element with the specified <id> is not present in the model then no error message is output.
- hex8 all
- Data type: string, string
- hex8 <id>
- Data type: string, int
- hex20 all
- Data type: string, string
- hex20 <id>
- Data type: string, int
- pen all
- Data type: string, string
- pen <id>
- Data type: string, int
- pen6 all
- Data type: string, string
- pen6 <id>
- Masks the element having configuration PENTA6 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- pen15 all
- Masks all the elements of configuration PENTA15 from the model. If no element of the specified configuration is present in the model then no error message is output.
- pen15 <id>
- Masks the element having configuration PENTA15 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- pyr all
- Masks all the PENTA5 and PENTA13 elements in the model. If no elements having a PENTA(5/13) config are present in the model then no error message is output.
- pyr <id>
- Masks the 3D element of any PENTA(5/13) config having the specified <id>. If the element with the specified <id> is not present in the model then no error message is output.
- pyr5 all
- Masks all the elements of configuration PENTA5 from the model. If no element of the specified configuration is present in the model then no error message is output.
- pyr5 <id>
- Masks the element having configuration PENTA5 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- pyr13 all
- Masks all the elements of configuration PENTA13 from the model. If no element of the specified configuration is present in the model then no error message is output.
- pyr13 <id>
- Masks the element having configuration PENTA13 and the specified <id> from the model. If no element of the specified configuration and <id> is present in the model then no error message is output.
- mat <matname>
- Masks all the elements having the specified material name.
- mat <id>
- Masks all the elements in the material having the specified <id>.
- swa
- Swaps the current display.
Outputs
Nothing
Errors
No error codes. If the model is not loaded on the active window then the "Model File not Loaded" message is output.
If no argument(s)/wrong argument(s) is supplied to the era command then the usage of the command is output based on the level of error.
Examples
- Example 1
- To mask the all the elements of QUAD4
configuration:
era quad4 all;
- Example 2
- To mask the elements in components having names "Comp 1" and "Comp 2",
if the model contains those
components
era comp {"Comp 1" "Comp 2"};
- Example 3
- Apart from the "all" and "<id>" options, the elements can be masked by passing ranges only or mixing them with IDs. The rule to be followed while using this option is each ID should be separated by a space and the range should be specified by using a hyphen, "-", delimiter. Ranges cannot be specified for the ele, comp, and gro options.
- Example 4
- To erase comps ranging from 1 to
10:
era comp 1-10
- Example 5
- To erase elements ranging from
1-100:
era ele 1-100
- Example 6
- To erase materials ranging from
1-10:
era mat 1-10