DRAWINDEX does not affect WALLLINE2 (the same applies to all WALL type component commands). The only way to workaround this is to manipulate scripted order.
Zsolt Feke
Library Developer, Library Team GRAPHISOFT SE
Use the WALLLINE2 command to draw the missing wall lines back. ”Show Opening Only” option does not affect lines created with this command.
Example can be found in WallholeCut macro in ARCHICAD Library.
Zsolt Feke
Library Developer, Library Team GRAPHISOFT SE