Working with applications

Tekla Structures
2021
Tekla Structures

Working with applications

You can run, add, edit, rename, save as and delete applications, macros and plugins in the Applications section of Applications and Components catalog. You can also record and edit macros.

To Do this
Record a macro
  1. Click the Applications & components button in the side pane to open the Applications & components catalog.
  2. Click the Access advanced features button and then click Record macro > Global or Local depending on whether you want to save the macro in the global or local macros folder.

    The Local command is only available if you have defined a location for the local macros using the advanced option XS_MACRO_DIRECTORY.

  3. Enter a name for the macro in the Macro name box.
  4. Click OK and perform the actions you want to record.
  5. Click Stop recoding to stop recording.

    The recorded macro is saved under global or local macros in the macros\drawings or macros\modeling folder depending on the mode (drawing or modeling) you were using while you were recording the macro.

Create a macro file and add contents later
  1. Click the Applications & components button in the side pane to open the Applications & components catalog.
  2. Click the Access advanced features button and then click New macro > Global or Local depending on whether you want to save the macro in the global or local macros folder.

    The Local command is only available if you have defined a location for the local macros using the advanced option XS_MACRO_DIRECTORY.

  3. Enter a name for the macro in the Macro name box.
  4. Click OK.

    This creates an empty macro file that is displayed in the Applications list.

  5. Right-click the empty macro file and select Edit.
  6. Add the macro content, for example, by copying commands from other macro files and save the file.
View or edit a macro
  1. Click the Applications & components button in the side pane to open the Applications & components catalog.
  2. Click the arrow next to Applications to open the applications list.
  3. Right-click the macro you want to edit and click Edit.

    The macro can be opened in any text editor.

  4. If needed, edit the macro and save the macro file.
Run an application
  1. Click the Applications & components button in the side pane to open the Applications & components catalog.
  2. Click the arrow next to Applications to open the applications list.
  3. Double-click the application you want to run.
Save an application with another name
  1. Click the Applications & components button in the side pane to open the Applications & components catalog.
  2. Click the arrow next to Applications to open the applications list.
  3. Right-click the application that you want to save with another name and click Save as.
  4. Enter a new name for the application and click OK.

    The application will be added in the list.

Rename an application
  1. Click the Applications & components button in the side pane to open the Applications & components catalog.
  2. Click the arrow next to Applications to open the applications list.
  3. Right-click the application you want to rename and click Rename.
  4. Enter a new name for the application and click OK.

    The name of the application changes.

Delete an application
  1. Click the Applications & components button in the side pane to open the Applications & components catalog.
  2. Click the arrow next to Applications to open the applications list.
  3. Right-click the application you want to delete and click Delete.

    The application is removed from the list.

Esta informação foi útil?
Anterior
Seguinte