I tried looking up this question in litreature and the forum and I couldn't find anything pertaining to my situation.
I have the following nested if-elseif statements, and I observed by using breakpoints, the code skips after processing the first if-elseif statement. It skips the caulations at the ellipsis too. I want it to run through the rest of the elseif and check the logic and calculate results – any help is appreciated
This excerpt is supposed to change the extreme points out of Nx and -Nx.
if X<-Nx X=Nx; elseif X>Nx X=-Nx; if Y<-Ny Y=Ny; elseif Y>Ny Y=-Ny; if Z<-Nz Z=Nz; elseif Z>Nz Z=-Nz; ... end end end
Best Answer