Skip to content
This repository was archived by the owner on May 19, 2020. It is now read-only.
This repository was archived by the owner on May 19, 2020. It is now read-only.

Two EdgeBars in one addin #5

@michalzemek

Description

@michalzemek

Hello,
I am trying to create an addin with two different edge bars. But only the edge bar, which is added as second, is shown in Solid edge. The first one is just not there. I tried that also with the TestAddIn, which is in the SolidEdge.CommunityAddIn project. I have added MyEdgeBarControl and MyEdgeBarControl2 like this:

        public override void OnCreateEdgeBarPage(EdgeBarController controller, SolidEdgeFramework.SolidEdgeDocument document)
       {            
            controller.Add<MyEdgeBarControl>(document, 107);
            controller.Add<MyEdgeBarControl2>(document, 100);
        }

Again, only the MyEdgeBarControl2 is shown and icons are mixed up. Some of them are from the MyEdgeBarControl2, some of them from the MyEdgeBarControl.
Is it a bug, or does SolidEdge support only one EdgeBar per an addin? Any help would be deeply appreciated.
Thanks,
Michal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions