Quantcast
Channel: RAM | STAAD Forum - Recent Threads
Viewing all articles
Browse latest Browse all 23543

openstaad .. syntax problem

$
0
0

Am not able to get the node distance of between two nodes .. am a basic level programmer.. pls clarify if I have made a mistake here

Public Sub node()


Dim NodeDistance As Long
Dim NodeNoA As Long
Dim NodeNoB As Long


Set objOpenSTAAD = GetObject(, "StaadPro.OpenSTAAD")

NodeNoA = 498
NodeNoB = 665

objOpenSTAAD.Geometry.GetNodeDistance NodeNoA, NodeNoB

Cells(1, 8) = NodeDistance

End Sub


Viewing all articles
Browse latest Browse all 23543

Trending Articles