ScriptSpot

Forum topic · General Scripting

2 object Normals

By Mrjacks2o · 2026-01-28

Description

Hi Everyone

I have a question regarding normals for 2 selected object...

I have 2 objects selected with
modPanel.addModToSelection (Edit_Normals ()) ui:on

With all Normals selected for both objects now i want to have unify activated
and Unify/Break to Avrage box checked how can i go about doing this for 2 selected objects at once

I tried this but get an error
$.modifiers[#Edit_Normals].EditNormalsMod.Unify node:$Box toAverage:on
$.modifiers[#Edit_Normals].EditNormalsMod.Unify node:$Box1 toAverage:on

thanks in advance

Comments (2)

AEI · 2026-02-02


for o in selection do
  o.modifiers[1].Unify node:o toAverage:true

AEI · 2026-02-02


for o in selection do
  o.modifiers[1].Unify node:o toAverage:true