Edit a NetLogic

Modify the NetLogic code by using an external code editor.
Prerequisites
Set the default external code editor. See Set the default code editor.
  1. To edit a NetLogic
  2. In
    Project view
    , double-click a NetLogic object.
    The default external code editor opens.
    TIP: Rockwell Automation recommends using Microsoft Visual Studio 2022 or Microsoft Visual Studio Code as the default code editor. Some development assistance features may not be available when using a different code editor.
  3. In the external code editor, edit the NetLogic code and save the file.
    TIP:
    You can expose custom methods by adding such declarations:
    [ExportMethod] public void MyCustomMethod1() { //Add custom code here }
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.