Create a support at one corner of an AnalyticalPanel

Create a support at one corner of an AnalyticalPanel

junlin001
Explorer Explorer
421 Views
4 Replies
Message 1 of 5

Create a support at one corner of an AnalyticalPanel

junlin001
Explorer
Explorer

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.

 

0 Likes
422 Views
4 Replies
Replies (4)
Message 2 of 5

rnilay81
Enthusiast
Enthusiast

Can you give more details as to what actually is not working? Also , check couple of things 

1) Have you loaded the boundary conditions in the model ? Either programmatically or in the Template file(if you are using one) ? 

2) Please note, if the boundary conditions are not loaded , then even though you add the Support programmatically you won't be able to see them on the model. Simple way to check they are loaded is to open your model , go to "Manage"--> "Structural Settings" ---> "Bounday Conditions Settings" . If they are not there, you will get a popup as below 

rnilay81_0-1683176241485.png

 

Message 3 of 5

junlin001
Explorer
Explorer

Let's say I have the following four analytical panels.  Is there a way to create point boundary conditions at four corners in Revit either through UI or programmatically.   It seems that point boundary conditions can only applied to analytical members in Revit.  If that is the case, it would be a mistake as point boundary conditions should be allowed on any given nodes.

 

junlin001_0-1683201344007.png

 

Message 4 of 5

rnilay81
Enthusiast
Enthusiast

As I understand from the figure above, you want to apply point boundary conditions to corners of each of the analytical Panel. As far as I know, you can't apply the Point boundary condition to any one corner of the Analytical Panel. You can apply line or area Boundary Conditions in such cases. 

0 Likes
Message 5 of 5

junlin001
Explorer
Explorer

Yes, that is my conclusion too.  I think it is a mistake for Revit not allowing point boundary condition to be applied at the corners of analytical panels.  It seems that people who design the API have not much structural analysis or FEM modeling experiences.  There are also so many breaking changes over the years with every Revit upgrade.  And lastly, I feel Revit software is over-bloated and very slow.