The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here.
Options

how to clear all macro values appearing in context panel?

MausumiMausumi Member Posts: 4 Newbie

Answers

  • Options
    BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi,

    for a few macros, doubleclick, ctrl + a, delete is doable.

    If you have a lot to clean, you could open the XML view (View => Show Panel => XML) and copy the contents of /context/macros to an editor. You can do advanced replacements there, and then you just copy the result back.

       <macros>
          <macro>
            <key>m1</key>
            <value>v1</value>
    </macro>
    <macro>
    <key>m2</key>
    <value>v2</value>
    </macro>
    <macro>
    <key>m3</key>
    <value/>
    </macro>
    </macros>
    In this example you see that the third key doesn't have a value. So in your editor (capable of regular expression replacement) you would change <value.+/value> to <value/>.

    Regards,
    Balázs
Sign In or Register to comment.