Setting User-Defined Data for a Design
RMxprt allows a user to define some design data in a text file that can be created by a text editor, instead of by RMxprt UI, for the following special circumstances:
- Some special requests from a user that are not necessary to be added to RMxprt UI
- Some common requests from users that have been implemented in RMxprt solver, but have not been added in RMxprt UI
- Specifying Data Based on Design Template Files
When a user's requests have been implemented in an RMxprt solver but have not been added in the RMxprt UI, the updated solver and the required file format for user defined data will be sent to the user. To use the user defined data feature, the user must first edit the data file using a text editor according to the format provided. Then, select RMxprt > Design Settings to display the Design Settings dialog box. You can also view and set design settings by selecting the current design, and then in the Properties window, select the tab for the solver.
- Select the User Defined Data tab.
- Click the Enable check box to enable the use of User Defined Data.
-
User defined data may be entered directly into the text box. Click in the box and enter the data entries desired.
-
For example: If you want to create a full 360 deg model of the solved RMxprt design, enter Fractions 1 in the text box and click OK. After solving the RMxprt design, if you choose to create a Maxwell 2D or 3D design, a full 360 model is generated.
Similarly, if you want to create a 180 deg half-model of the solved design, enter Fractions 2 in the text box.
Note: There are template files of file type .temp installed with many of the RMxprt examples located in the <installdir>\Examples\RMxprt folder. These text files list keywords (such as Fractions), default values, and descriptions of supported user defined data for their related machine types. Refer to Specifying Data Based on Design Template Files for details of these template files.
-
- Alternatively, click Import File to import user defined data from an external file.
- Browse to the directory containing the file.
- Select the user defined data file which will be displayed in File name box.
- Click Open to confirm the selection.
- The file contents will be imported into the text box. Click OK to complete the setup.
User Defined Data is saved in the design file. Changes to User Defined Data will cause existing solutions to become invalid.