This is the central repository for the SolidEdge.Community.AddIn NuGet package.
Library | Version | Downloads |
---|---|---|
SolidEdge.Community.AddIn |
Community enhancements for developing Solid Edge AddIns.
License: MIT License
This is the central repository for the SolidEdge.Community.AddIn NuGet package.
Library | Version | Downloads |
---|---|---|
SolidEdge.Community.AddIn |
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.
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.
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?
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.
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
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.