file geometry write

Allows you to export CAD data (IGES, STEP, or Parasolid). See Manage Geometry Options for more information.

Format:

 
file geometry write
type_of_geometry =
geometry_file_type
file_name =
string
option_file_name =
string
explode =
boolean
model_name =
an existing model
analysis_name =
an existing analysis
frame_number =
integer
part_name =
an existing body
display_summary =
boolean
active_only =
boolean

Example:

 
file geometry write &
type_of_geometry =
stp &
file_name =
"c:\data.stp" &
explode =
yes &
analysis_name =
last_run &
frame_number =
10
active_only =
yes

Description:

 
Parameter
Type
Description
type_of_geometry
(required)
Geometry_file_type
Specifies the type of geometry that is to have its rendering mode modified.
file_name(required)
String
Specifies the name of the file that is to be read, written, or executed.
option_file_name
String
Specifies the name of the file that contains translation options specific to the geometry format under consideration. Note the options file is specific to either the import or the export operation and to the designated geometry format.
explode(optional)
Boolean
Values are: yes and no.
model_name(required)
An Existing Model
Specifies the Adams View model to be written to the CAD file. Adams View places each rigid body in the model on a separate level.
analysis_name(required)
An Existing Analysis
Specifies a model at a particular simulation frame (time) of a particular analysis.
frame_number(required)
Integer
Specifies the frame number (simulation output time step) at which to configure a model during the file geometry write command
part_name(required)
An Existing Body
Specifies the name of the Adams part from which the geometry is written to the iges file.
display_summary
Boolean
Values: Yes or no
Specifies a yes, will turn logging ON, otherwise no log file of the translation operation will be generated.
active_only
Boolean
Values: Yes or no
Specifies a yes, will export only active parts, otherwise all parts in the hierarchy will be exported despite their state.

Extended Definition:

1. The ‘type_of_geometry’ parameter acts as a filter to decide which of the selected geometry objects will have their rendering mode modified. The possible values are: arc, box, frustum, springdamper, outline, or all. The arc setting includes both arc and circle geometry. The frustum setting includes both frustum and cylinder geometry.
Values are: igs, stp.
2. The proper extension for the file specified by the ‘file_name’ parameter is the default, but you can override it by supplying a different extension.
It is not necessary to enclose the file name in quotes if it only contains alphanumeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[]' for directory paths, you must enclose the file name in quotes.
3. All geometry written to the IGES file is defined with respect to the global coordinate system of the Adams View model.
4. The options file contains all translation options for that specific geometry format and the specific operation (either import or export but not both). The options file is an easier way of specifying a complete set of translation options at once during an operation. The file can be generated beforehand, using the 'Manage Geometry Translation Options' dialog box, accessible from the main menu (Settings Geometry Translation).
5. This analysis_name parameter is helpful for transferring position data of an Adams View model to a drafting program to prepare drawings of the mechanism at various states of operation. Adams View writes all parts and geometry to the CAD file in the same relative position as they appear in a single frame
6. If you specify the ‘frame_number’ parameter, it must be a positive integer corresponding to the desired frame (output time step), and the default value is initially 1. If you enter a new value, it will be remembered and will be the default next time the command is used. If you enter a value greater than the last frame number, Adams displays the last frame.
7. The geometry will be defined with respect to the global reference frame within the geometry file.
You can identify a part by typing its name or by picking it from the screen:
If the part is not visible on the screen, you must type the name (you may find it convenient to type the name even if the part is visible). If you created the part by reading a dataset or graphics file, the part name is the letters par followed by the dataset part ID number. For example, the name of Adams PART/101 is PAR101. If you created the part during preprocessing, you will have given it a name at that time. If a part is available by default, you can identify it by entering only its name. If it is not, you must enter its full name.
To identify a part under another model, for example, you may need to enter the model name, as well. For example, you may specify part arm from model robot by entering .robot.arm. If you type a ?, Adams View will list the parts available by default.
You must separate multiple part names with commas.
If the part is visible in one of your views, you can identify it by picking on any of the graphics associated with it. It is not necessary to separate multiple part picks with commas.
8. The FRAME_NUMBER parameter is used to specify the frame number (Adams simulation output time step) at which to configure a model during the single_frame_display command. If entered, the frame_number must be a positive integer corresponding to the desired frame (output time step) and the default value is initially 1. If a new value is entered, this value will be remembered and be the default next time the command is used. If a value greater than the last frame number is entered, the system will display the last frame.
This parameter is optional and mutually exclusive with the CONFIGURATION and TIME parameters. If none of the three are entered, the first frame will be displayed.
Special Note: Even if only one view_name is provided, the frame number will be applied to the specified view and any other views that contain the same model (the model indicated by analysis_name parameter). If only analysis_name is provided (view_name parameter is omitted), any views that contain the model indicated by analysis_name will be affected.
9. Specifies the name of the Adams PART from which the geometry is written to the IGES file. The geometry will be defined with respect to the global reference frame within the IGES file.
You may identify a part by typing its name or by picking it from the screen.
If the part is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the part is displayed. If you created the part by reading an Adams data set or graphics file, the part name is the letters PAR followed by the Adams data set part ID number. For example, the name of Adams PART/101 is PAR101. If you created the part during preprocessing, you will have given it a name at that time.
If a part is available by default, you may identify it by entering only its name. If it is not, you must enter its full name. To identify a part under another model, for instance, you may need to enter the model name as well. For example, you may specify part 'arm' from model 'robot' by entering ".robot.arm".
You must separate multiple part names by commas.
If the part 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 part picks by commas.
10.   Newly added option 'active_only' is helpful to export active parts from the selected model whenever it is set to 'yes'. If this is set to 'no', all the parts will be exported despite their state.
By default, its value will be 'no'.

Tips:

If you type a "?", Adams View will list the parts available by default.