yuominae / STAADModel

A simple .NET wrapper for OpenSTAAD with tools for automatic member generation and calculation of buckling lengths and deflection lengths
5 stars 4 forks source link

Staad pro connect #3

Open breeze143 opened 1 year ago

breeze143 commented 1 year ago

Hi, can you update this use in staad pro connect edition? I tried doing it but I have no luck. Thanks.

yuominae commented 1 year ago

Hi,

I'm sorry to hear that. I'd love to help, but unfortunately I lost access to STAAD when I stopped working as a structural engineer.

I contacted Bentley to ask them for a developer licence, but they are too expensive, so unfortunately I cannot modify this code anymore as I have no means to test it. Sorry.

On Wed, 7 Dec 2022, 17:06 breeze143, @.***> wrote:

Hi, can you update this use in staad pro connect edition? I tried doing it but I have no luck. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/yuominae/STAADModel/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHT266KEIBGFUSGGWD3M6LWMCYZLANCNFSM6AAAAAASW76I3Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

breeze143 commented 1 year ago

Thank you,

I'm not an C# expert but can you help me with this ref object szGroupNameList?, How can I extract the groupNameList? What I am doing wrong? IMG-22233c06612ae4407251873494da6abe-V IMG-53e70abef77830ed828a1c3cb89bbc93-V IMG-8b1c94f65799a22d11c2cd5e3972aafb-V

Thank you :)

yuominae commented 1 year ago

To be perfectly honest I don't see anything particularly wrong with your code. It looks to me like you need to pass grpNames by reference into the GetGroupNames method, like osGeom.GetGroupNames(2, ref grpNames).

I simply seem to remember that the OpenStaad COM API required everything to be dynamic and by reference. But it's all quite far away now...

On Thu, 8 Dec 2022, 04:05 breeze143, @.***> wrote:

Thank you,

I'm not an C# expert but can you help me with this ref object szGroupNameList?, How can I extract the groupNameList? What I am doing wrong? [image: IMG-22233c06612ae4407251873494da6abe-V] https://user-images.githubusercontent.com/119264850/206346081-9e6be2ce-f0f5-4312-838a-683bebf4956c.jpg [image: IMG-53e70abef77830ed828a1c3cb89bbc93-V] https://user-images.githubusercontent.com/119264850/206346089-778941ca-c944-4968-87f3-1e66120bbc19.jpg [image: IMG-8b1c94f65799a22d11c2cd5e3972aafb-V] https://user-images.githubusercontent.com/119264850/206346091-28e54311-b6b1-4f1d-872b-908fd34c6d72.jpg

Thank you :)

— Reply to this email directly, view it on GitHub https://github.com/yuominae/STAADModel/issues/3#issuecomment-1341918980, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHT262S25LUC3VFC67UXADWMFF7PANCNFSM6AAAAAASW76I3Y . You are receiving this because you commented.Message ID: @.***>

breeze143 commented 1 year ago

Thank you sir 😊