Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: thea on March 17, 2011, 09:07:16 pm

Title: BPMN 1.1 Diagrams and Elements
Post by: thea on March 17, 2011, 09:07:16 pm
Hi, I have a code that was supposed to create a BPMN 1.1 Diagram.  I used the C# Example included in Sparx to get the type of a BPMN 1.1 and it says "Analysis", so that's what I put in my code.  But then, after I open the diagram, the default tollbox that opens with it is the "Analysis" toolbox so I'm assuming that the "Analysis" diagram type is different from "BPMN 1.1".  What type should I use then?  Or, if the initial set of toolbox when opening a diagram doesn't have anything to do with it, what's the correct code so that I could set the toolbox to BPMN 1.1 as well?

Any help is greatly appreciated.

Code: [Select]
EA.Diagram NewDiagram = (EA.Diagram)Package.Diagrams.AddNew(vsPage.Name, "Analysis");
NewDiagram.Update();
Title: Re: BPMN 1.1 Diagrams and Elements
Post by: KP on March 18, 2011, 09:00:15 am
This is a guess: try "BPMN1.1::BPMN". If that doesn't work, contact Sparx Support.
Title: Re: BPMN 1.1 Diagrams and Elements
Post by: thea on March 18, 2011, 03:32:55 pm
Quote
This is a guess: try "BPMN1.1::BPMN". If that doesn't work, contact Sparx Support.

It worked! Thank you so much!! What about the shapes then? Should I put "BPMN1.1::BPMN::Activity" type for the Activity Shapes???