Applies To | |||
Product(s): | STAAD.Pro | ||
Version(s): | All | ||
Environment: | N/A | ||
Area: | OpenSTAAD | ||
Subarea: | Support | ||
Original Author: | Bentley Technical Support Group, Shreyanka Bhattacharjee | ||
Problem Description:
How to remove support specification from specified node(s) using OpenSTAAD functions
Solution:
Function AssignSupportToNode can be used for this task
Parameter for AssignSupportToNode:
node: The node number ID(s)
varnSupportNo: Support Reference number ID
Sample VBA Syntax:
Dim node() As Long
Dim nodecount As Long
Dim varnSupportNo As Long
nodecount = 1
ReDim node(nodecount)
node(0) = 52
node(1) = 65
varnSupportNo = 1 'No Support
For I = 0 To nodecount
objOpenSTAAD.Support.AssignSupportToNode node(I), varnSupportNo
Next I