Page 1 of 1

Define the interaction via python api

Posted: Tue Nov 15, 2022 2:20 pm
by Zhou_Jx
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

Re: Define the interaction via python api

Posted: Wed Nov 16, 2022 8:02 am
by Zhou_Jx
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

Re: Define the interaction via python api

Posted: Wed Nov 16, 2022 10:55 am
by STKO Team
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