Create a support at one corner of an AnalyticalPanel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to create a single support at one corner of an analytical panel? I tried the following and it does not work
CurveArray curves = new CurveArray();
Utils.GetCurves(analyticalPanel, ref curves);
var curve = curves.get_Item(curveIndex);
AnalyticalCurveSelector analyticalCurveSelector = (nodes[curveIndex] == support.Id) ? AnalyticalCurveSelector.WholeCurve : AnalyticalCurveSelector.WholeCurve;
AnalyticalModelSelector selector = new AnalyticalModelSelector(curve, analyticalCurveSelector);
Reference reference = analyticalPanel.GetReference(selector);
TranslationRotationValue[] fixity = new TranslationRotationValue[6];
for (int i = 0; i < 6; i++)
{
fixity[i] = (support.Flag[i] == '1') ? TranslationRotationValue.Fixed : TranslationRotationValue.Release;
}
condition = _document.Create.NewPointBoundaryConditions(reference,
fixity[0], 0,
fixity[1], 0,
fixity[2], 0,
fixity[3], 0,
fixity[4], 0,
fixity[5], 0);
Any help is greatly appreciated. Thanks.