Hi, everyone,
I want to use Openstaad API to manipulate user provided table in staadpro, I already succesfully added UPT table 1 and several sections by functions: " CreateUPTTableEx" and "AddUPTPropertyISECTION", but , when I try to delete the first seciton of UPT table 1. it fails, and there is no error/warning message. anyone can tell me where is wrong?
thank you
Below is the test code in EXCEL vba.
Private Sub Cmd_Test_PROPERTY_Click()
Dim oSTD As Object
Set oSTD = GetObject(, "StaadPro.OpenSTAAD")
oSTD.Property.RemovePropertyFromUPTTable 1,1
Set oSTD = Nothing
End Sub