Show all components in screen

Forum Forums Visual Components 4.1 .NET Addon Programming Show all components in screen

This topic contains 1 reply, has 2 voices, and was last updated by Keke Keke 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17756
    febjc0
    febjc0
    Participant

    Is it possible to do the same thing as click the button below in .NET?

    #17775
    Keke
    Keke
    Moderator

    Hi,

    Try the snippet below. With command registry handle you can call any .NET action item if you know its ID. And you can get IDs for standard VC commands by looking at the VisualComponents.Engine.exe.config file in the application folder. Or you can search all items and their IDs by iterating ICommandRegistry.Actions property.

    var reg = IoC.Get<ICommandRegistry>();
    reg.ExecuteAction(“FillWorld”);

    -k

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.