*CREATE

*CREATE, Fname, Ext, --
Opens (creates) a macro file.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

Argument Descriptions

Fname

File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name.

Do not use a directory path if file is to be read with the macro Name option of the *USE command.

Ext

Filename extension (eight-character maximum).

Ext should not be used if file is to be read with the macro Name option of the *USE command.

--

Unused field.

Notes

See the *USE command for a discussion of macros. All commands following the *CREATE command, up to the *END command, are written to the specified file without being executed. An existing file of the same name, if any, will be overwritten. Parameter values are not substituted for parameter names in the commands when the commands are written to the file. Use *CFWRITE to create a file if this is desired. The resulting macro may be executed with a *USE command (which also allows parameters to be passed into the macro) or a /INPUT command (which does not allow parameters to be passed in). Several macros may be stacked into a library file [*ULIB]. You cannot use *CREATE within a DO loop.

This command is valid in any processor.

Menu Paths

Utility Menu>Macro>Create Macro

Release 18.2 - © ANSYS, Inc. All rights reserved.