I have line body imported in WB and I want to assign a beam section to it. The Command snippet couldn't work because the line body is shown as undefined "with question mark" in the WB tree. I would like to know if I can use a JS for example to do this in Mechanical.