Multiple section wing using VSP Script

44 views
Skip to first unread message

p_bamrah

unread,
Jul 19, 2022, 4:09:25 PM7/19/22
to OpenVSP
Hello Team,

I have a very small doubt. I am trying to model multi-section wing using .vspscript. I am able to add sections using a for loop. However OpenVSP doesn't seem to update the input parameter values for sections other than 0 and 1. It gives an error "SetParmVal::Can't Find Parm". I have double checked the syntax as well.

Thank you in advance
Parush

Brandon Litherland

unread,
Jul 22, 2022, 5:36:23 AM7/22/22
to OpenVSP
Do you Update() before trying to set the section parameters?  If the sections haven't been created and updated yet, they won't exist.  

p_bamrah

unread,
Jul 26, 2022, 1:34:57 PM7/26/22
to OpenVSP
I wasn't updating after adding each section. Got my mistake.
Thank you

Reply all
Reply to author
Forward
0 new messages