Group Modification

27 views
Skip to first unread message

Adjei Ameyaw

unread,
May 31, 2026, 10:35:45 PM (4 days ago) May 31
to OpenVSP
Hello, 
I know if you want to use the python api to modify existing vp3 files, you first find the particular id , say if you want  access to the wing and the wing's name is MainWing in the file you do something like 
wing_id = vsp.FindGeom("MainWing", 0) and then you use the wing_id to set parameter values.
I was wondering, how would you access the whole group together (fuselage + wing, + tail etc.) so you can do group modifications? 
Any help will be appreciated. 
So you can modify these variables through the api.

Screenshot 2026-05-31 223439.png

Rob McDonald

unread,
Jun 1, 2026, 12:23:17 AM (4 days ago) Jun 1
to OpenVSP
From the API, if you want to manipulate a group like that, they must be in a Set.  Then, use the Group Modification calls.


You can also construct your model with attachment and parent/child relationships -- this will frequently remove the need for group modification.

Rob

Adjei Ameyaw

unread,
Jun 1, 2026, 8:22:53 PM (3 days ago) Jun 1
to OpenVSP
Thanks Rob 
Reply all
Reply to author
Forward
0 new messages