Notifications
Clear all

[Closed] All Layers

Hi,

How to get all Layer names from Layer editor through Max Script.

ThanX.

4 Replies
1 Reply
(@rustyknight)
Joined: 11 months ago

Posts: 0

I just responded to another thread asking a simular question…


for i = 0 to LayerManager.count - 1 do (
  format "%
" (LayerManager.getLayer i)
)

Shane

Hi

Its working but, not displaying the name of the Layers.

Thanks.

1 Reply
(@rustyknight)
Joined: 11 months ago

Posts: 0

Sorry, but did you even take a look at the docs…because…

format "%
" ((LayerManager.getLayer i).name)

should…

edt: note the “.name” at the end of the line…

Its working fine.

ThanQ Mr.RustyKnight.