These questions were sent in by a user...
I am currently trying to run a simple project in Hypersizer and change some of its properties via VBA. The intention is to run this code from ModelCenter to investigate such things as the effect of rib spacing on cover mass at various positions on a wing (we already have our own code to do this, so I can check whether I am getting similar answers with Hypersizer). I have found that I am having difficulty in the following.
1) Defining or changing the load for an individual component (in this case, a simple stiffened panel). I guess this may be via DesignLoadsPanel and CreatePanelLoad, but am I right?
2) Defining initial sizes for the skin thickness and stringer dimensions in a uniaxial stiffened panel component, for example. I can easily change the Buckling X and Y spans for this, so I could investigate the effect of rib spacing without problem by using a stored panel design with suitable variable ranges already set and simple resizing when I change the buckling x span. However, I would ideally like to be able to set specific values for skin and stringer dimensions and link them to an optimizer. I can read back the various skin/stringer dimensions after Hypersizer has sized the panel OK.
3) Is there any way of getting a full or selected set of MOS values, rather than just the minimum value?
4) I have noticed that values which I recall from the project database via programming are always in 'English' units, even though the project units are set as SI. Is there any way of changing this so that I don't have to do the rescaling myself?
5) I have noticed that when I get the values of panel mass and area after doing a size operation, the optimized values are always panel mass/unit area and area =0.999999.... Indeed, even the total mass for a single panel was returned with the same value as mass per unit area (and all were in English units). I asked for a report in Word from the Hypersizer GUI and found that the panel mass/unit area (correctly in SI units) was consistent with values returned by my hack VBA code, but the panel area in the Word document is wrong, and so is the total panel mass. Is this a fault, or something that I doing incorrectly?