Giter Club home page Giter Club logo

solidedge.community.addin's Introduction

SolidEdge.Community Repostiory

This is the central repository for the SolidEdge.Community.AddIn NuGet package.

Latest Release

Library Version Downloads
SolidEdge.Community.AddIn Nuget count Nuget downloads

solidedge.community.addin's People

Contributors

jlnewell avatar sandrojoost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

solidedge.community.addin's Issues

Help event is not fired!

The Help event is not fired when pressing the F1 key.
I used the AddIn template and just changed the MyRibbon class:

class MyRibbon : SolidEdgeCommunity.AddIn.Ribbon
{
    private RibbonButton _button1;

    public MyRibbon()
    {
        // Get a reference to the current assembly. This is where the ribbon XML is embedded.
        var assembly = System.Reflection.Assembly.GetExecutingAssembly();

        // Note: In this example, the ribbon XML file has a build action of "Embedded Resource".
        var _embeddedResourceName = String.Format("{0}.xml", this.GetType().FullName);
        this.LoadXml(assembly, _embeddedResourceName);

        // Example of how to bind a local variable to a particular ribbon control.
        _button1 = GetButton(0);
        _button1.Help += _button1_Help;
    }

    void _button1_Help(RibbonControl control, IntPtr hWndFrame, int helpCommandID)
    {
        Help.ShowHelp(null, "Help.chm");
    }
}

Nothing gets called when pressing the F1 key while the cursor is on the RibbonButton.

Multiple instances of SE using addin

Dear Jason,

I'm playing around with the AddIn Demo you've created and it looks very good! The only thing I am wondering is the fact that, when I register the dll and start Solid Edge a second instance opens on the background (see image). Is this normal behaviour or am I doing something wrong? By the way, I'm using ST6 64bit on Windows 7.

Thanks in advance for your time.

capture_2016_01_26_10_01_15_588

Designer exception for control inherited from EdgeBarControl

Hi,
i'm using SolidEdge.Community.AddIn version 219 and Interop.SolidEdge version 220. I can't open my EdgeBarControl derived control because I get this error :

Could not load file or assembly 'Interop.SolidEdge, Version=219.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Impossibile trovare il file specificato.

Each time I need to modify control I must change inheritance to UserControl.
How can i solve this issue?

Grouping in ribbons

Solid Edge has things grouped in ribbons. My grouping and the grouping of the demo addin don't do anything. Everything is grouped under the title of the tab. I can provide screenshots if this is unclear.

What I want is to group certain controls and seperate them from the rest within ribbons.

Two EdgeBars in one addin

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

Register-SolidEdgeAddin with multiple projects in one solution

When a VS Solution contains more than one project, the first one is always used for Register-SolidEdgeAddin.

I have a solution with more than one project, i would like to specify the project name for Register-SolidEdgeAddin (e.g. Register-SolidEdgeAddin AddinProject) I propose to add a parameter to the register function that can be used for the project name. if no name is provided, the first project should be used to keep backwards compatibility.

The name can simply be passed to Get-Project

this probably related to #6

Two AddIns registered and only the first one that is used works

Hi Jason,

We have created two different AddIns that use different environments from one another.

The first AddIn is only for the Draft environment and the second is only for the Assembly environment.

After opening Solid Edge, if a Draft is opened, the OnConnection and OnConnectToEnvironment subs will run for the first AddIn. If an assembly is then opened, the ribbons for the second AddIn are not visible and the OnConnection and OnConnectToEnvironment subs are never called.

The same thing happens if an Assembly is opened first, only the it is the second AddIn that works and the first AddIn that does not.

Any ideas as to why you cannot have two different AddIns?

I appreciate any help or insight you can provide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.