file parasolid write
Allows you to write the geometric definition of an Adams model or part from to the Parasolids file format. You can then read the Parasolid file into a CAD program.
You can export an entire model, an individual part of a model, or a model as it exists at a particular simulation time. Exporting the model at a particular simulation time is helpful for transferring position data of an Adams model to a CAD program to prepare drawings of the mechanism at various states of operation.
Format:
file parasolid write |
|---|
file_name = | string |
type = | ascii/binary/neutral |
model_name = | existing model |
analysis_name = | existing analysis |
frame_number = | integer |
part_name = | existing part |
active_only = | boolean |
Description:
Parameter | Value Type | Description |
|---|
File_name | String | Specifies the name of the file that is to be read. The proper extension is the default, but you can override it by supplying a different extension. |
Type | Ascii/binary/neutral | Specifies the type of file |
Model_name | 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 | Existing analysis | Specifies the model at a particular simulation frame (time) of a particular analysis to export. |
frame_number | Integer | Specifies the frame number (simulation output time step) at which to configure a model during the single_frame_display command. |
part_name | Existing Part | Specifies the name of the Adams part from which the geometry is written to the iges file. |
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. |
Note: | Default extension to export or write Parasolid file has been changed from xmt_txt to x_t. |
Extended Definition:
1. 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.
2. The 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 display.
3. 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 be the default next time the command is used. If you enter a value greater than the last frame number, 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
Note: | Even if you only provide one view_name, the frame number will be applied to the specified view and any other views that contain the same model (the model indicated by the analysis_name parameter). If you only provide analysis_name (view_name parameter is omitted), any views that contain the model indicated by analysis_name will be affected. |
4. The geometry specified in the part_name parameter will be defined with respect to the global reference frame within the iges 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.
5. 'active_only' option is helpful to export active parts from the selected model if it is set to 'yes'. If this option is set to 'no', all the parts will be exported despite their state(active/inactive).By default, its value will be 'no'.