Define the interaction via python api

Post Reply
Zhou_Jx
Posts: 47
Joined: Wed Mar 16, 2022 12:15 pm

Define the interaction via python api

Post by Zhou_Jx » Tue Nov 15, 2022 2:20 pm

Dear STKO,

Recently, I am learning to build the numerical model via python api, but I have never contact python ago. I found there is little examples in the offical web https://asdeasoft.net/stko-wiki/index.html(only geometry example there), and that makes it is insufficent for me to learn. Can you share some other examples for me, e.g., build a node-node interaction.

Best wishes,

Jiaxing

Zhou_Jx
Posts: 47
Joined: Wed Mar 16, 2022 12:15 pm

Re: Define the interaction via python api

Post by Zhou_Jx » Wed Nov 16, 2022 8:02 am

Dear STKO,

I built four nodes via python api, and I hope to make a selectionset of these four nodes. But I am confused by the official web, because there is a little example, can you give me some guidance?

Best wishes,

Jiaxing
Attachments
selection.rar
(512 Bytes) Downloaded 218 times

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Define the interaction via python api

Post by STKO Team » Wed Nov 16, 2022 10:55 am

The PythonAPI documentation is still under development.

In the meantime, you can ask questions here and we can help you.

Here's how you can do selections sets and interactions:
selection.zip
(1005 Bytes) Downloaded 218 times

Post Reply