PDA

View Full Version : Weibull ++ 7 DE Question


Jacek.Blicharski
September 2nd, 2009, 06:33 AM
Hello All,
I have few questions regarding Weibull ++ Developer's Edition.

1) Is there any possiblity to set desired color to any contour plot item which was being created using Weibull Api in Access/Excel while using VBA code? If not then maybe it is possible to set default color in some way which will be used every time we create a plot.

2) How can i change suspension color of plot item using vba code in Access/Excel while using Weibull Plot Api? It seems that the default color is being used instead of the one i use for 2p or 3p weibulls.

3) How can i create many folios and plots using Weibull DLL. I can only create one sheet at time, then the weibull is opening and the code is in break mode until i close the weibull window.

Thanks in advance for any answers.

David
September 21st, 2009, 11:23 AM
Hi Jacek,

I apologize for the delay in having your questions answered.

1) and 2) Unfortunately, there is not a way to alter these settings via the code. However, upon creating a plot using the Weibull DE libraries, the Plot Setup can be entered (by clicking an item on the plot or using the ShowSetup method). Inside this dialog, the user can select the last available tab page and click the “Defaults” button in the lower left corner of the dialog. This will open a dialog that will allow the user to customize the default plot settings to their liking.

3) The second parameter of the “CreateProject” function should allow this behavior. Instead of passing the “wacShowProject” enum value, use the “wacCalculateAndClose” enum value. Weibull will open, calculate based upon the specified data and then close, allowing the programmer to access the parameters.

I hope this helps.