Use curly braces for variable within in you command

Use curly braces for variable within in you command

You can enclose a text within curly braces {} and instruct Copilot to interpret the content within the braces as a variable. In the following example, my objective was to adhere to a specific naming convention for sheet numbers, with the final segment of each sheet number incrementally increasing by one. Therefore, I directed Copilot to systematically increment the number in the final position, which I designated as {seq}.

Now for each of those views create a sheet and put each view on a sheet. The sheet numbers to follow this convention: RME-{seq}. In which the "seq" is a number that starts from 1 to the number of the view



    • Related Articles

    • Use examples

      Use examples to explain what you want the Copilot to do. As you can see in the command below, we wanted Copilot to apply scope boxes to the views, and I clarified my request by providing an example: Now find all the scope boxes in the model and apply ...
    • Handling partial command execution

      Occasionally, Copilot may not fully execute a command due to its partial compatibility with the elements in your model. This limitation arises when certain components of the command cannot be applied to some objects within your model. For instance, ...
    • Use @ to select elements and object in Copilot

      If you want to select an object, family, view name ,etc. use @ to find the object in the list. It helps Copilot to find the exact match for the selected element and not get confused with category names or any discrepancies of API names and family ...
    • Avoid very long conversations

      The copilot processes commands by considering the context of previous instructions. Therefore, to switch topics or initiate a new task, beginning a fresh session is advisable. Continuing with prompts in the same session leads the copilot to interpret ...
    • Avoid abstract commands

      Try to make your prompts as detailed as possible. Explain what you want the copilot to do step by step. It is important to consider which task needs to be performed first. Step by Step commands can help the copilot not having to generate complex ...