Hello.
Why this method doesn't work?
By this way the similar method GetAllLinearMembers from the same library works perfect.
Sub stf() Dim mylist2 As STFSolidList Set mylist2 = New STFSolidList Set mylist2 = STFApplication.GetAllSolids(ActiveModelReference) Debug.Print mylist2.GetCount 'ERROR OBJECT doesn set end sub
The code below returns only listLinear correctly
Dim listSolids As STFSolidList Dim listLinear As STFLinearMemberList Dim listWalls As STFWallList Dim listJoist As STFJoistList Call STFApplication.GetAllStructuralMembersBySelection(listLinear, listSolids, listWalls, listJoist)
Hi Vlad,
Unless anyone reading happens to have the requisite knowledge, you may want to re-post this question on the Developers & Programming forum: https://communities.bentley.com/products/programming/f/developers-and-programming-forum#pifragment-26313=1
Or the BDN forum if you're a member: https://communities.bentley.com/communities/other_communities/bentley_developer_network/f/bentley-developer-network-forum#pifragment-26346=1
https://developer.bentley.com/BDN
https://developer.bentley.com/register/subscribe/4