Quantcast
Viewing all articles
Browse latest Browse all 23543

RE: Members Attached to Nodes

Hi,

In the OpenSTAAD function View.SelectEntitiesConnectedToNode EntityType, NodeNo the EntityType should be defined properly. You have tried to select the members connected to a node. So the Entity Type should be specified as 1, not 2.

You need to modify the function as--

objOpenSTAAD.View.SelectEntitiesConnectedToNode(1, 6)

I have used the following code and it works properly in my machine--

Dim intEntityType As Integer
Dim lNodeNo As Long
Set objOpenSTAAD = GetObject(, "StaadPro.OpenSTAAD")
intEntityType = 1
lNodeNo = 2
objOpenSTAAD.View.SelectEntitiesConnectedToNode intEntityType, lNodeNo


Viewing all articles
Browse latest Browse all 23543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>